Class SpdyHttpDecoder

    • Field Detail

      • validateHeaders

        private final boolean validateHeaders
      • spdyVersion

        private final int spdyVersion
      • maxContentLength

        private final int maxContentLength
      • messageMap

        private final java.util.Map<java.lang.Integer,​FullHttpMessage> messageMap
    • 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

        public SpdyHttpDecoder​(SpdyVersion version,
                               int maxContentLength,
                               boolean validateHeaders)
        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.
        validateHeaders - true if http headers should be validated
      • 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

        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