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, printlnclosepublic NettyServletOutputStream(io.netty.handler.codec.http.HttpContent httpContent)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int offset,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void resetBuffer()
public boolean isFlushed()
public int getBufferSize()
public boolean isReady()
isReady in class javax.servlet.ServletOutputStreampublic void setWriteListener(javax.servlet.WriteListener writeListener)
setWriteListener in class javax.servlet.ServletOutputStreamApache CXF