public class NettyCompressionEncoder
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
| コンストラクタと説明 | 
|---|
| NettyCompressionEncoder(int thresholdIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| protected void | encode(io.netty.channel.ChannelHandlerContext p_encode_1_,
      io.netty.buffer.ByteBuf p_encode_2_,
      io.netty.buffer.ByteBuf p_encode_3_)Encode a message into a  ByteBuf. | 
| void | setCompressionThreshold(int thresholdIn) | 
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprotected 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
io.netty.handler.codec.MessageToByteEncoderByteBuf. This method will be called for each written message that can be handled
 by this encoder.encode クラス内 io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>p_encode_1_ - the ChannelHandlerContext which this MessageToByteEncoder belongs top_encode_2_ - the message to encodep_encode_3_ - the ByteBuf into which the encoded message will be writtenjava.lang.Exception - is thrown if an error occurspublic void setCompressionThreshold(int thresholdIn)