Class HttpHeaderNames


  • public final class HttpHeaderNames
    extends Object
    Standard HTTP header names.

    These are all defined as lowercase to support HTTP/2 requirements while also not violating HTTP/1.x requirements. New header names should always be lowercase.

    • Field Detail

      • ACCEPT

        public static final AsciiString ACCEPT
        "accept"
      • ACCEPT_CHARSET

        public static final AsciiString ACCEPT_CHARSET
        "accept-charset"
      • ACCEPT_ENCODING

        public static final AsciiString ACCEPT_ENCODING
        "accept-encoding"
      • ACCEPT_LANGUAGE

        public static final AsciiString ACCEPT_LANGUAGE
        "accept-language"
      • ACCEPT_RANGES

        public static final AsciiString ACCEPT_RANGES
        "accept-ranges"
      • ACCEPT_PATCH

        public static final AsciiString ACCEPT_PATCH
        "accept-patch"
      • ACCESS_CONTROL_ALLOW_CREDENTIALS

        public static final AsciiString ACCESS_CONTROL_ALLOW_CREDENTIALS
        "access-control-allow-credentials"
      • ACCESS_CONTROL_ALLOW_HEADERS

        public static final AsciiString ACCESS_CONTROL_ALLOW_HEADERS
        "access-control-allow-headers"
      • ACCESS_CONTROL_ALLOW_METHODS

        public static final AsciiString ACCESS_CONTROL_ALLOW_METHODS
        "access-control-allow-methods"
      • ACCESS_CONTROL_ALLOW_ORIGIN

        public static final AsciiString ACCESS_CONTROL_ALLOW_ORIGIN
        "access-control-allow-origin"
      • ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK

        public static final AsciiString ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
        "access-control-allow-origin"
      • ACCESS_CONTROL_EXPOSE_HEADERS

        public static final AsciiString ACCESS_CONTROL_EXPOSE_HEADERS
        "access-control-expose-headers"
      • ACCESS_CONTROL_MAX_AGE

        public static final AsciiString ACCESS_CONTROL_MAX_AGE
        "access-control-max-age"
      • ACCESS_CONTROL_REQUEST_HEADERS

        public static final AsciiString ACCESS_CONTROL_REQUEST_HEADERS
        "access-control-request-headers"
      • ACCESS_CONTROL_REQUEST_METHOD

        public static final AsciiString ACCESS_CONTROL_REQUEST_METHOD
        "access-control-request-method"
      • ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK

        public static final AsciiString ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK
        "access-control-request-private-network"
      • AUTHORIZATION

        public static final AsciiString AUTHORIZATION
        "authorization"
      • CACHE_CONTROL

        public static final AsciiString CACHE_CONTROL
        "cache-control"
      • CONNECTION

        public static final AsciiString CONNECTION
        "connection"
      • CONTENT_BASE

        public static final AsciiString CONTENT_BASE
        "content-base"
      • CONTENT_ENCODING

        public static final AsciiString CONTENT_ENCODING
        "content-encoding"
      • CONTENT_LANGUAGE

        public static final AsciiString CONTENT_LANGUAGE
        "content-language"
      • CONTENT_LENGTH

        public static final AsciiString CONTENT_LENGTH
        "content-length"
      • CONTENT_LOCATION

        public static final AsciiString CONTENT_LOCATION
        "content-location"
      • CONTENT_TRANSFER_ENCODING

        public static final AsciiString CONTENT_TRANSFER_ENCODING
        "content-transfer-encoding"
      • CONTENT_DISPOSITION

        public static final AsciiString CONTENT_DISPOSITION
        "content-disposition"
      • CONTENT_MD5

        public static final AsciiString CONTENT_MD5
        "content-md5"
      • CONTENT_RANGE

        public static final AsciiString CONTENT_RANGE
        "content-range"
      • CONTENT_SECURITY_POLICY

        public static final AsciiString CONTENT_SECURITY_POLICY
        "content-security-policy"
      • CONTENT_TYPE

        public static final AsciiString CONTENT_TYPE
        "content-type"
      • COOKIE

        public static final AsciiString COOKIE
        "cookie"
      • EXPECT

        public static final AsciiString EXPECT
        "expect"
      • EXPIRES

        public static final AsciiString EXPIRES
        "expires"
      • IF_MATCH

        public static final AsciiString IF_MATCH
        "if-match"
      • IF_MODIFIED_SINCE

        public static final AsciiString IF_MODIFIED_SINCE
        "if-modified-since"
      • IF_NONE_MATCH

        public static final AsciiString IF_NONE_MATCH
        "if-none-match"
      • IF_RANGE

        public static final AsciiString IF_RANGE
        "if-range"
      • IF_UNMODIFIED_SINCE

        public static final AsciiString IF_UNMODIFIED_SINCE
        "if-unmodified-since"
      • LAST_MODIFIED

        public static final AsciiString LAST_MODIFIED
        "last-modified"
      • LOCATION

        public static final AsciiString LOCATION
        "location"
      • MAX_FORWARDS

        public static final AsciiString MAX_FORWARDS
        "max-forwards"
      • ORIGIN

        public static final AsciiString ORIGIN
        "origin"
      • PRAGMA

        public static final AsciiString PRAGMA
        "pragma"
      • PROXY_AUTHENTICATE

        public static final AsciiString PROXY_AUTHENTICATE
        "proxy-authenticate"
      • PROXY_AUTHORIZATION

        public static final AsciiString PROXY_AUTHORIZATION
        "proxy-authorization"
      • REFERER

        public static final AsciiString REFERER
        "referer"
      • RETRY_AFTER

        public static final AsciiString RETRY_AFTER
        "retry-after"
      • SEC_WEBSOCKET_PROTOCOL

        public static final AsciiString SEC_WEBSOCKET_PROTOCOL
        "sec-websocket-protocol"
      • SEC_WEBSOCKET_VERSION

        public static final AsciiString SEC_WEBSOCKET_VERSION
        "sec-websocket-version"
      • SEC_WEBSOCKET_KEY

        public static final AsciiString SEC_WEBSOCKET_KEY
        "sec-websocket-key"
      • SEC_WEBSOCKET_ORIGIN

        public static final AsciiString SEC_WEBSOCKET_ORIGIN
        "Sec-WebSocket-Origin"
      • SEC_WEBSOCKET_ACCEPT

        public static final AsciiString SEC_WEBSOCKET_ACCEPT
        "sec-websocket-accept"
      • SEC_WEBSOCKET_EXTENSIONS

        public static final AsciiString SEC_WEBSOCKET_EXTENSIONS
        "sec-websocket-protocol"
      • SERVER

        public static final AsciiString SERVER
        "server"
      • SET_COOKIE

        public static final AsciiString SET_COOKIE
        "set-cookie"
      • SET_COOKIE2

        public static final AsciiString SET_COOKIE2
        "set-cookie2"
      • TRAILER

        public static final AsciiString TRAILER
        "trailer"
      • TRANSFER_ENCODING

        public static final AsciiString TRANSFER_ENCODING
        "transfer-encoding"
      • UPGRADE

        public static final AsciiString UPGRADE
        "upgrade"
      • UPGRADE_INSECURE_REQUESTS

        public static final AsciiString UPGRADE_INSECURE_REQUESTS
        "upgrade-insecure-requests"
      • USER_AGENT

        public static final AsciiString USER_AGENT
        "user-agent"
      • WARNING

        public static final AsciiString WARNING
        "warning"
      • WWW_AUTHENTICATE

        public static final AsciiString WWW_AUTHENTICATE
        "www-authenticate"
      • X_FRAME_OPTIONS

        public static final AsciiString X_FRAME_OPTIONS
        "x-frame-options"
      • X_REQUESTED_WITH

        public static final AsciiString X_REQUESTED_WITH
        "x-requested-with"