public class ChunkedReadWriteHandler extends io.netty.handler.stream.ChunkedWriteHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
INT_SIZE |
| Constructor and Description |
|---|
ChunkedReadWriteHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
Thread-safe since there is no shared instance state.
|
channelInactive, channelWritabilityChanged, flush, handlerAdded, resumeTransferbind, close, connect, deregister, disconnect, readchannelActive, channelReadComplete, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredpublic static final int INT_SIZE
public ChunkedReadWriteHandler()
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionorg.jboss.netty.handler.stream.ChunkedWriteHandler#handleUpstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent)public void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.handler.stream.ChunkedWriteHandlerExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.