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 ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketClientCompressionHandler(int maxAllocation) Constructor with default configuration. -
Method Summary
Methods inherited from class WebSocketClientExtensionHandler
channelRead, writeMethods inherited from class ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
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)