@ChannelHandler.Sharable public class AnnotatedObjectEncoder extends io.netty.handler.codec.MessageToByteEncoder<Serializable>
Modifier and Type | Field and Description |
---|---|
static AnnotatedObjectEncoder |
INSTANCE |
static String |
NAME |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Serializable serializable,
io.netty.buffer.ByteBuf byteBuf) |
acceptOutboundMessage, allocateBuffer, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
public static final AnnotatedObjectEncoder INSTANCE
public static final String NAME
protected void encode(io.netty.channel.ChannelHandlerContext channelHandlerContext, Serializable serializable, io.netty.buffer.ByteBuf byteBuf) throws IOException
encode
in class io.netty.handler.codec.MessageToByteEncoder<Serializable>
IOException