Class WebSocketFrameAggregator

  • All Implemented Interfaces:
    ChannelHandler, ChannelUpstreamHandler

    public class WebSocketFrameAggregator
    extends OneToOneDecoder
    Handler that aggregate fragmented WebSocketFrame's. Be aware if PING/PONG/CLOSE frames are send in the middle of a fragmented WebSocketFrame they will just get forwarded to the next handler in the pipeline.
    • Constructor Detail

      • WebSocketFrameAggregator

        public WebSocketFrameAggregator​(int maxFrameSize)
        Construct a new instance
        Parameters:
        maxFrameSize - If the size of the aggregated frame exceeds this value, a TooLongFrameException is thrown.