public class NettyCompressionDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
Constructor and Description |
---|
NettyCompressionDecoder(int treshold) |
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 p_decode_3_) |
void |
setCompressionTreshold(int treshold) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
protected void decode(io.netty.channel.ChannelHandlerContext p_decode_1_, io.netty.buffer.ByteBuf p_decode_2_, java.util.List p_decode_3_) throws java.util.zip.DataFormatException
decode
in class io.netty.handler.codec.ByteToMessageDecoder
java.util.zip.DataFormatException
public void setCompressionTreshold(int treshold)