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, resumeTransfer
bind, close, connect, deregister, disconnect, read
channelActive, channelReadComplete, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggered
public 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.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
org.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.ChannelOutboundHandler
write
in class io.netty.handler.stream.ChunkedWriteHandler
Exception
Copyright © 2015 The Apache Software Foundation. All rights reserved.