Class NettyServletOutputStream

java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
org.apache.cxf.transport.http.netty.server.servlet.NettyServletOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class NettyServletOutputStream extends jakarta.servlet.ServletOutputStream
  • Constructor Details

    • NettyServletOutputStream

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

    • write

      public void write(int b) throws IOException
      Specified by:
      write in class OutputStream
      Throws:
      IOException
    • write

      public void write(byte[] b) throws IOException
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • write

      public void write(byte[] b, int offset, int len) throws IOException
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • flush

      public void flush() throws IOException
      Specified by:
      flush in interface Flushable
      Overrides:
      flush in class OutputStream
      Throws:
      IOException
    • resetBuffer

      public void resetBuffer()
    • isFlushed

      public boolean isFlushed()
    • getBufferSize

      public int getBufferSize()
    • isReady

      public boolean isReady()
      Specified by:
      isReady in class jakarta.servlet.ServletOutputStream
    • setWriteListener

      public void setWriteListener(jakarta.servlet.WriteListener writeListener)
      Specified by:
      setWriteListener in class jakarta.servlet.ServletOutputStream