public class WebSocketFrameAggregator extends OneToOneDecoder
WebSocketFrame they will
just get forwarded to the next handler in the pipeline.ChannelHandler.Sharable| Constructor and Description |
|---|
WebSocketFrameAggregator(int maxFrameSize)
Construct a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decode(ChannelHandlerContext ctx,
Channel channel,
Object message)
Transforms the specified received message into another message and return
the transformed message.
|
handleUpstreampublic WebSocketFrameAggregator(int maxFrameSize)
maxFrameSize - If the size of the aggregated frame exceeds this value,
a TooLongFrameException is thrown.protected Object decode(ChannelHandlerContext ctx, Channel channel, Object message) throws Exception
OneToOneDecodernull if the received message
is supposed to be discarded.decode in class OneToOneDecoderExceptionCopyright © 2008-2016 The Netty Project. All Rights Reserved.