public class NettyCompressionEncoder
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
Constructor and Description |
---|
NettyCompressionEncoder(int thresholdIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext p_encode_1_,
io.netty.buffer.ByteBuf p_encode_2_,
io.netty.buffer.ByteBuf p_encode_3_) |
void |
setCompressionThreshold(int thresholdIn) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
protected void encode(io.netty.channel.ChannelHandlerContext p_encode_1_, io.netty.buffer.ByteBuf p_encode_2_, io.netty.buffer.ByteBuf p_encode_3_) throws java.lang.Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
java.lang.Exception
public void setCompressionThreshold(int thresholdIn)