Class WebSocketClientCompressionHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler
io.netty.handler.codec.http.websocketx.extensions.compression.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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateWebSocketClientCompressionHandler(int maxAllocation) Constructor with default configuration. -
Method Summary
Methods inherited from class io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler
channelRead, writeMethods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
INSTANCE
Deprecated.
-
-
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.
-
WebSocketClientCompressionHandler(int)