Class SpdyHttpDecoder

    • Constructor Detail

      • SpdyHttpDecoder

        public SpdyHttpDecoder​(SpdyVersion version,
                               int maxContentLength)
        Creates a new instance.
        Parameters:
        version - 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 version,
                                  int maxContentLength,
                                  java.util.Map<java.lang.Integer,​FullHttpMessage> messageMap)
        Creates a new instance with the specified parameters.
        Parameters:
        version - 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.
      • SpdyHttpDecoder

        @Deprecated
        protected SpdyHttpDecoder​(SpdyVersion version,
                                  int maxContentLength,
                                  java.util.Map<java.lang.Integer,​FullHttpMessage> messageMap,
                                  boolean validateHeaders)
        Creates a new instance with the specified parameters.
        Parameters:
        version - 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.
        validateHeaders - true if http headers should be validated
      • SpdyHttpDecoder

        protected SpdyHttpDecoder​(SpdyVersion version,
                                  int maxContentLength,
                                  java.util.Map<java.lang.Integer,​FullHttpMessage> messageMap,
                                  HttpHeadersFactory headersFactory,
                                  HttpHeadersFactory trailersFactory)
        Creates a new instance with the specified parameters.
        Parameters:
        version - 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.
        headersFactory - The factory used for creating HTTP headers
        trailersFactory - The factory used for creating HTTP trailers.