Apache CXF API

org.apache.cxf.transport.http.netty.server.servlet
Class NettyServletOutputStream

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

public class NettyServletOutputStream
extends javax.servlet.ServletOutputStream


Constructor Summary
NettyServletOutputStream(io.netty.handler.codec.http.HttpContent httpContent)
           
 
Method Summary
 void flush()
           
 int getBufferSize()
           
 boolean isFlushed()
           
 void resetBuffer()
           
 void write(byte[] b)
           
 void write(byte[] b, int offset, int len)
           
 void write(int b)
           
 
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyServletOutputStream

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

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()

Apache CXF API

Apache CXF