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, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
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_) throws java.util.zip.DataFormatException, java.lang.Exception
decode
in class io.netty.handler.codec.ByteToMessageDecoder
java.util.zip.DataFormatException
java.lang.Exception
public void setCompressionThreshold(int thresholdIn)