Top Description Fields Constructors Methods
io.netty5.handler.codec.http.websocketx.extensions.compression

public final Class WebSocketClientCompressionHandler

extends WebSocketClientExtensionHandler
Class Inheritance
Imports
io.netty5.handler.codec.http.websocketx.extensions.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.

Field Summary

Modifier and TypeField and Description
public static final WebSocketClientCompressionHandler

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
isSharable()

Overrides default io.netty5.channel.ChannelHandler.isSharable.

Returns true if this handler is sharable and thus can be added to more than one ChannelPipeline.
Inherited from io.netty5.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler:
channelReadwrite

Field Detail

INSTANCEback to summary
public static final WebSocketClientCompressionHandler INSTANCE

Constructor Detail

WebSocketClientCompressionHandlerback to summary
private WebSocketClientCompressionHandler()

Method Detail

isSharableback to summary
public boolean isSharable()

Overrides default io.netty5.channel.ChannelHandler.isSharable.

Doc from io.netty5.channel.ChannelHandler.isSharable.

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.

Annotations
@Override