@ChannelHandler.Sharable
@Singleton
public class WebSocketBinaryFrameDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.WebSocketFrame>
Modifier and Type | Field and Description |
---|---|
static @NotNull java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(@NotNull io.netty.channel.ChannelHandlerContext ctx,
@NotNull io.netty.handler.codec.http.websocketx.WebSocketFrame msg,
@NotNull java.util.List<java.lang.Object> out) |
boolean |
isSharable() |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved
@NotNull public static final @NotNull java.lang.String NAME
protected void decode(@NotNull @NotNull io.netty.channel.ChannelHandlerContext ctx, @NotNull @NotNull io.netty.handler.codec.http.websocketx.WebSocketFrame msg, @NotNull @NotNull java.util.List<java.lang.Object> out)
decode
in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.WebSocketFrame>
public boolean isSharable()
isSharable
in class io.netty.channel.ChannelHandlerAdapter