Class WebSocketClientCompressionHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler, ChannelOutboundHandler

@Sharable public final class WebSocketClientCompressionHandler extends WebSocketClientExtensionHandler
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions. See io.netty.example.http.websocketx.client.WebSocketClient for usage.
  • Field Details

  • Constructor Details

    • WebSocketClientCompressionHandler

      private WebSocketClientCompressionHandler()
    • WebSocketClientCompressionHandler

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