public class MessageDecoder
extends io.netty.channel.ChannelInboundHandlerAdapter
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Constant
NAME="responseDecoder" |
Constructor and Description |
---|
MessageDecoder() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
@NotNull Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static final String NAME
NAME="responseDecoder"
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, @NotNull @NotNull Object msg)
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2016–2024. All rights reserved.