public class NettyCompressionDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private java.util.zip.Inflater |
inflater |
private int |
threshold |
| Constructor and Description |
|---|
NettyCompressionDecoder(int thresholdIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext p_decode_1_,
io.netty.buffer.ByteBuf p_decode_2_,
java.util.List<java.lang.Object> p_decode_3_) |
void |
setCompressionThreshold(int thresholdIn) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableprotected void decode(io.netty.channel.ChannelHandlerContext p_decode_1_,
io.netty.buffer.ByteBuf p_decode_2_,
java.util.List<java.lang.Object> p_decode_3_)
throws java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.Exceptionpublic void setCompressionThreshold(int thresholdIn)