Class WebSocketServerCompressionHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

    public class WebSocketServerCompressionHandler
    extends WebSocketServerExtensionHandler
    Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler to handle the most common WebSocket Compression Extensions. See io.netty.example.http.websocketx.html5.WebSocketServer for usage.
    • Constructor Detail

      • WebSocketServerCompressionHandler

        public WebSocketServerCompressionHandler​(int maxAllocation)
        Constructor with default configuration.
        Parameters:
        maxAllocation - Maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited.