public class WebSocketFrameAggregator extends io.netty.handler.codec.MessageToMessageDecoder<WebSocketFrame>
WebSocketFrame they will
just get forwarded to the next handler in the pipeline.| Constructor and Description |
|---|
WebSocketFrameAggregator(int maxFrameSize)
Construct a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
WebSocketFrame msg,
io.netty.channel.MessageList<Object> out) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
acceptInboundMessage, messageReceivedchannelActive, channelReadSuspended, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic WebSocketFrameAggregator(int maxFrameSize)
maxFrameSize - If the size of the aggregated frame exceeds this value,
a TooLongFrameException is thrown.protected void decode(io.netty.channel.ChannelHandlerContext ctx,
WebSocketFrame msg,
io.netty.channel.MessageList<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<WebSocketFrame>Exceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.