public class WebSocketFrameAggregator extends OneToOneDecoder
WebSocketFrame they will
just get forwarded to the next handler in the pipeline.ChannelHandler.Sharable| 构造器和说明 |
|---|
WebSocketFrameAggregator(int maxFrameSize)
Construct a new instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.Object |
decode(ChannelHandlerContext ctx,
Channel channel,
java.lang.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 java.lang.Object decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object message) throws java.lang.Exception
OneToOneDecodernull if the received message
is supposed to be discarded.decode 在类中 OneToOneDecoderjava.lang.Exception