Class ResponseDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.ByteToMessageDecoder
-
- org.rspeer.game.web.test.netty.codec.ResponseDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class ResponseDecoder extends io.netty.handler.codec.ByteToMessageDecoder
-
-
Field Summary
Fields Modifier and Type Field Description static io.netty.util.AttributeKey<Integer>
PACKET_LENGTH_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description ResponseDecoder(com.google.gson.Gson gson)
-
Method Summary
-
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
channelInactive, channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
-
-
-
Field Detail
-
PACKET_LENGTH_ATTRIBUTE
public static final io.netty.util.AttributeKey<Integer> PACKET_LENGTH_ATTRIBUTE
-
-