@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, writebind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic 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