public class PacketInflater
extends io.netty.handler.codec.ByteToMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private int |
compressionThreshold |
private Inflater |
inflater |
| Constructor and Description |
|---|
PacketInflater(int compressionThreshold) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
List<Object> list) |
void |
setCompressionThreshold(int compressionThreshold) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableprivate final Inflater inflater
private int compressionThreshold
protected void decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
List<Object> list)
decode in class io.netty.handler.codec.ByteToMessageDecoderpublic void setCompressionThreshold(int compressionThreshold)