Class SpdyHttpDecoder

java.lang.Object
org.jboss.netty.handler.codec.oneone.OneToOneDecoder
org.jboss.netty.handler.codec.spdy.SpdyHttpDecoder
All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler

public class SpdyHttpDecoder extends OneToOneDecoder
  • Field Details

    • spdyVersion

      private final int spdyVersion
    • maxContentLength

      private final int maxContentLength
    • messageMap

      private final Map<Integer,HttpMessage> messageMap
  • Constructor Details

    • SpdyHttpDecoder

      public SpdyHttpDecoder(SpdyVersion spdyVersion, int maxContentLength)
      Creates a new instance.
      Parameters:
      spdyVersion - the protocol version
      maxContentLength - the maximum length of the message content. If the length of the message content exceeds this value, a TooLongFrameException will be raised.
    • SpdyHttpDecoder

      protected SpdyHttpDecoder(SpdyVersion spdyVersion, int maxContentLength, Map<Integer,HttpMessage> messageMap)
      Creates a new instance with the specified parameters.
      Parameters:
      spdyVersion - the protocol version
      maxContentLength - the maximum length of the message content. If the length of the message content exceeds this value, a TooLongFrameException will be raised.
      messageMap - the Map used to hold partially received messages.
  • Method Details