Interface HttpHeadersFactory

    • Method Detail

      • newEmptyTrailers

        default HttpHeaders newEmptyTrailers()
        Create an HttpHeaders instance designed to hold trailers, possibly optimized for being empty.

        Note: this should not return an immutable instance unless it is known that no code will need to mutate the trailers.

        Returns:
        an HttpHeaders instance.
      • validateCookies

        boolean validateCookies()
        Determine if a cookies should be validated during parsing into HttpSetCookies.
        Returns:
        true if a cookies should be validated during parsing into HttpSetCookies.