@ChannelHandler.Sharable
public class SizePrepender
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
Constructor and Description |
---|
SizePrepender() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
io.netty.buffer.ByteBuf byteBuf2) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable