Class NettyServletInputStream

java.lang.Object
java.io.InputStream
jakarta.servlet.ServletInputStream
org.apache.cxf.transport.http.netty.server.servlet.NettyServletInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class NettyServletInputStream extends jakarta.servlet.ServletInputStream
  • Constructor Details

    • NettyServletInputStream

      public NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
  • Method Details

    • read

      public int read() throws IOException
      Specified by:
      read in class InputStream
      Throws:
      IOException
    • read

      public int read(byte[] buf) throws IOException
      Overrides:
      read in class InputStream
      Throws:
      IOException
    • read

      public int read(byte[] buf, int offset, int len) throws IOException
      Overrides:
      read in class InputStream
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class InputStream
      Throws:
      IOException
    • isFinished

      public boolean isFinished()
      Specified by:
      isFinished in class jakarta.servlet.ServletInputStream
    • isReady

      public boolean isReady()
      Specified by:
      isReady in class jakarta.servlet.ServletInputStream
    • setReadListener

      public void setReadListener(jakarta.servlet.ReadListener readListener)
      Specified by:
      setReadListener in class jakarta.servlet.ServletInputStream