public class NettyOutputStream extends OutputStream
| Constructor and Description |
|---|
NettyOutputStream(io.netty.channel.ChannelHandlerContext ctx,
int bufferSize,
io.netty.handler.codec.http.HttpResponse headers,
io.netty.channel.ChannelFutureListener closeListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] src,
int off,
int len) |
void |
write(byte[] src,
int off,
int len,
io.netty.channel.ChannelFutureListener callback) |
void |
write(int b) |
writepublic NettyOutputStream(io.netty.channel.ChannelHandlerContext ctx,
int bufferSize,
io.netty.handler.codec.http.HttpResponse headers,
io.netty.channel.ChannelFutureListener closeListener)
public void write(int b)
write in class OutputStreampublic void write(byte[] src,
int off,
int len)
write in class OutputStreampublic void write(byte[] src,
int off,
int len,
io.netty.channel.ChannelFutureListener callback)
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamCopyright © 2019. All rights reserved.