public class NettyServletOutputStream
extends javax.servlet.ServletOutputStream
Constructor and Description |
---|
NettyServletOutputStream(io.netty.handler.codec.http.HttpContent httpContent) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
int |
getBufferSize() |
boolean |
isFlushed() |
boolean |
isReady() |
void |
resetBuffer() |
void |
setWriteListener(javax.servlet.WriteListener writeListener) |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int len) |
void |
write(int b) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
close
public NettyServletOutputStream(io.netty.handler.codec.http.HttpContent httpContent)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int offset, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void resetBuffer()
public boolean isFlushed()
public int getBufferSize()
public boolean isReady()
isReady
in class javax.servlet.ServletOutputStream
public void setWriteListener(javax.servlet.WriteListener writeListener)
setWriteListener
in class javax.servlet.ServletOutputStream
Apache CXF