@ChannelHandler.Sharable
@Singleton
public class WebSocketBinaryFrameEncoder
extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>
Modifier and Type | Field and Description |
---|---|
static @NotNull java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(@NotNull io.netty.channel.ChannelHandlerContext ctx,
@NotNull io.netty.buffer.ByteBuf msg,
@NotNull java.util.List<java.lang.Object> out) |
boolean |
isSharable() |
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved
@NotNull public static final @NotNull java.lang.String NAME
protected void encode(@NotNull @NotNull io.netty.channel.ChannelHandlerContext ctx, @NotNull @NotNull io.netty.buffer.ByteBuf msg, @NotNull @NotNull java.util.List<java.lang.Object> out)
encode
in class io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>
public boolean isSharable()
isSharable
in class io.netty.channel.ChannelHandlerAdapter