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, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
private 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.ByteToMessageDecoder
public void setCompressionThreshold(int compressionThreshold)