Class WebSocketClientCompressionHandler

  • All Implemented Interfaces:

    public final class WebSocketClientCompressionHandler
    extends WebSocketClientExtensionHandler
    Extends io.netty5.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions. See io.netty5.example.http.websocketx.client.WebSocketClient for usage.
    • Method Detail

      • isSharable

        public boolean isSharable()
        Description copied from interface: ChannelHandler
        Returns true if this handler is sharable and thus can be added to more than one ChannelPipeline. By default, this method returns false. If this method returns false, you have to create a new handler instance every time you add it to a pipeline because it has unshared state such as member variables.