Class ResponseDecoder

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public class ResponseDecoder
    extends io.netty.handler.codec.ByteToMessageDecoder
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder

        io.netty.handler.codec.ByteToMessageDecoder.Cumulator
      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.netty.util.AttributeKey<Integer> PACKET_LENGTH_ATTRIBUTE  
      • Fields inherited from class io.netty.handler.codec.ByteToMessageDecoder

        COMPOSITE_CUMULATOR, MERGE_CUMULATOR
    • 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
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        handlerAdded, isSharable
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded
    • Field Detail

      • PACKET_LENGTH_ATTRIBUTE

        public static final io.netty.util.AttributeKey<Integer> PACKET_LENGTH_ATTRIBUTE
    • Constructor Detail

      • ResponseDecoder

        public ResponseDecoder​(com.google.gson.Gson gson)