Class SpdyHttpDecoder

    • Constructor Detail

      • 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.