Class DefaultHttpHeadersFactory

    • Constructor Detail

      • DefaultHttpHeadersFactory

        public DefaultHttpHeadersFactory​(boolean validateNames,
                                         boolean validateCookies)
        Create an instance of the factory with the default array size hint.
        Parameters:
        validateNames - true to validate header/trailer names.
        validateCookies - true to validate cookie contents when parsing.
      • DefaultHttpHeadersFactory

        public DefaultHttpHeadersFactory​(boolean validateNames,
                                         boolean validateCookies,
                                         int headersArraySizeHint,
                                         int trailersArraySizeHint)
        Create an instance of the factory.
        Parameters:
        validateNames - true to validate header/trailer names.
        validateCookies - true to validate cookie contents when parsing.
        headersArraySizeHint - A hint as to how large the hash data structure should be for the headers.
        trailersArraySizeHint - A hint as to how large the hash data structure should be for the trailers.