public final class HttpHeaderNames extends Object
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.
Modifier and Type | Field and Description |
---|---|
static AsciiString |
ACCEPT
"accept" |
static AsciiString |
ACCEPT_CHARSET
"accept-charset" |
static AsciiString |
ACCEPT_ENCODING
"accept-encoding" |
static AsciiString |
ACCEPT_LANGUAGE
"accept-language" |
static AsciiString |
ACCEPT_PATCH
"accept-patch" |
static AsciiString |
ACCEPT_RANGES
"accept-ranges" |
static AsciiString |
ACCESS_CONTROL_ALLOW_CREDENTIALS
"access-control-allow-credentials" |
static AsciiString |
ACCESS_CONTROL_ALLOW_HEADERS
"access-control-allow-headers" |
static AsciiString |
ACCESS_CONTROL_ALLOW_METHODS
"access-control-allow-methods" |
static AsciiString |
ACCESS_CONTROL_ALLOW_ORIGIN
"access-control-allow-origin" |
static AsciiString |
ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
"access-control-allow-origin" |
static AsciiString |
ACCESS_CONTROL_EXPOSE_HEADERS
"access-control-expose-headers" |
static AsciiString |
ACCESS_CONTROL_MAX_AGE
"access-control-max-age" |
static AsciiString |
ACCESS_CONTROL_REQUEST_HEADERS
"access-control-request-headers" |
static AsciiString |
ACCESS_CONTROL_REQUEST_METHOD
"access-control-request-method" |
static AsciiString |
ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK
"access-control-request-private-network" |
static AsciiString |
AGE
"age" |
static AsciiString |
ALLOW
"allow" |
static AsciiString |
ALT_SVC
"alt-svc" |
static AsciiString |
AUTHORIZATION
"authorization" |
static AsciiString |
CACHE_CONTROL
"cache-control" |
static AsciiString |
CONNECTION
"connection" |
static AsciiString |
CONTENT_BASE
"content-base" |
static AsciiString |
CONTENT_DISPOSITION
"content-disposition" |
static AsciiString |
CONTENT_ENCODING
"content-encoding" |
static AsciiString |
CONTENT_LANGUAGE
"content-language" |
static AsciiString |
CONTENT_LENGTH
"content-length" |
static AsciiString |
CONTENT_LOCATION
"content-location" |
static AsciiString |
CONTENT_MD5
"content-md5" |
static AsciiString |
CONTENT_RANGE
"content-range" |
static AsciiString |
CONTENT_SECURITY_POLICY
"content-security-policy" |
static AsciiString |
CONTENT_TRANSFER_ENCODING
"content-transfer-encoding" |
static AsciiString |
CONTENT_TYPE
"content-type" |
static AsciiString |
COOKIE
"cookie" |
static AsciiString |
DATE
"date" |
static AsciiString |
DNT
"dnt" |
static AsciiString |
ETAG
"etag" |
static AsciiString |
EXPECT
"expect" |
static AsciiString |
EXPIRES
"expires" |
static AsciiString |
FROM
"from" |
static AsciiString |
HOST
"host" |
static AsciiString |
IF_MATCH
"if-match" |
static AsciiString |
IF_MODIFIED_SINCE
"if-modified-since" |
static AsciiString |
IF_NONE_MATCH
"if-none-match" |
static AsciiString |
IF_RANGE
"if-range" |
static AsciiString |
IF_UNMODIFIED_SINCE
"if-unmodified-since" |
static AsciiString |
KEEP_ALIVE
Deprecated.
use
CONNECTION
"keep-alive" |
static AsciiString |
LAST_MODIFIED
"last-modified" |
static AsciiString |
LOCATION
"location" |
static AsciiString |
MAX_FORWARDS
"max-forwards" |
static AsciiString |
ORIGIN
"origin" |
static AsciiString |
PRAGMA
"pragma" |
static AsciiString |
PROXY_AUTHENTICATE
"proxy-authenticate" |
static AsciiString |
PROXY_AUTHORIZATION
"proxy-authorization" |
static AsciiString |
PROXY_CONNECTION
Deprecated.
use
CONNECTION
"proxy-connection" |
static AsciiString |
RANGE
"range" |
static AsciiString |
REFERER
"referer" |
static AsciiString |
RETRY_AFTER
"retry-after" |
static AsciiString |
SEC_WEBSOCKET_ACCEPT
"sec-websocket-accept" |
static AsciiString |
SEC_WEBSOCKET_EXTENSIONS
"sec-websocket-protocol" |
static AsciiString |
SEC_WEBSOCKET_KEY
"sec-websocket-key" |
static AsciiString |
SEC_WEBSOCKET_KEY1
"sec-websocket-key1" |
static AsciiString |
SEC_WEBSOCKET_KEY2
"sec-websocket-key2" |
static AsciiString |
SEC_WEBSOCKET_LOCATION
"sec-websocket-location" |
static AsciiString |
SEC_WEBSOCKET_ORIGIN
"sec-websocket-origin" |
static AsciiString |
SEC_WEBSOCKET_PROTOCOL
"sec-websocket-protocol" |
static AsciiString |
SEC_WEBSOCKET_VERSION
"sec-websocket-version" |
static AsciiString |
SERVER
"server" |
static AsciiString |
SET_COOKIE
"set-cookie" |
static AsciiString |
SET_COOKIE2
"set-cookie2" |
static AsciiString |
TE
"te" |
static AsciiString |
TRAILER
"trailer" |
static AsciiString |
TRANSFER_ENCODING
"transfer-encoding" |
static AsciiString |
UPGRADE
"upgrade" |
static AsciiString |
UPGRADE_INSECURE_REQUESTS
"upgrade-insecure-requests" |
static AsciiString |
USER_AGENT
"user-agent" |
static AsciiString |
VARY
"vary" |
static AsciiString |
VIA
"via" |
static AsciiString |
WARNING
"warning" |
static AsciiString |
WEBSOCKET_LOCATION
"websocket-location" |
static AsciiString |
WEBSOCKET_ORIGIN
"websocket-origin" |
static AsciiString |
WEBSOCKET_PROTOCOL
"websocket-protocol" |
static AsciiString |
WWW_AUTHENTICATE
"www-authenticate" |
static AsciiString |
X_FRAME_OPTIONS
"x-frame-options" |
static AsciiString |
X_REQUESTED_WITH
"x-requested-with" |
public static final AsciiString ACCEPT
"accept"
public static final AsciiString ACCEPT_CHARSET
"accept-charset"
public static final AsciiString ACCEPT_ENCODING
"accept-encoding"
public static final AsciiString ACCEPT_LANGUAGE
"accept-language"
public static final AsciiString ACCEPT_RANGES
"accept-ranges"
public static final AsciiString ACCEPT_PATCH
"accept-patch"
public static final AsciiString ACCESS_CONTROL_ALLOW_CREDENTIALS
"access-control-allow-credentials"
public static final AsciiString ACCESS_CONTROL_ALLOW_HEADERS
"access-control-allow-headers"
public static final AsciiString ACCESS_CONTROL_ALLOW_METHODS
"access-control-allow-methods"
public static final AsciiString ACCESS_CONTROL_ALLOW_ORIGIN
"access-control-allow-origin"
public static final AsciiString ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
"access-control-allow-origin"
public static final AsciiString ACCESS_CONTROL_EXPOSE_HEADERS
"access-control-expose-headers"
public static final AsciiString ACCESS_CONTROL_MAX_AGE
"access-control-max-age"
public static final AsciiString ACCESS_CONTROL_REQUEST_HEADERS
"access-control-request-headers"
public static final AsciiString ACCESS_CONTROL_REQUEST_METHOD
"access-control-request-method"
public static final AsciiString ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK
"access-control-request-private-network"
public static final AsciiString AGE
"age"
public static final AsciiString ALLOW
"allow"
public static final AsciiString AUTHORIZATION
"authorization"
public static final AsciiString CACHE_CONTROL
"cache-control"
public static final AsciiString CONNECTION
"connection"
public static final AsciiString CONTENT_BASE
"content-base"
public static final AsciiString CONTENT_ENCODING
"content-encoding"
public static final AsciiString CONTENT_LANGUAGE
"content-language"
public static final AsciiString CONTENT_LENGTH
"content-length"
public static final AsciiString CONTENT_LOCATION
"content-location"
public static final AsciiString CONTENT_TRANSFER_ENCODING
"content-transfer-encoding"
public static final AsciiString CONTENT_DISPOSITION
"content-disposition"
public static final AsciiString CONTENT_MD5
"content-md5"
public static final AsciiString CONTENT_RANGE
"content-range"
public static final AsciiString CONTENT_SECURITY_POLICY
"content-security-policy"
public static final AsciiString CONTENT_TYPE
"content-type"
public static final AsciiString COOKIE
"cookie"
public static final AsciiString DATE
"date"
public static final AsciiString DNT
"dnt"
public static final AsciiString ETAG
"etag"
public static final AsciiString EXPECT
"expect"
public static final AsciiString EXPIRES
"expires"
public static final AsciiString FROM
"from"
public static final AsciiString HOST
"host"
public static final AsciiString IF_MATCH
"if-match"
public static final AsciiString IF_MODIFIED_SINCE
"if-modified-since"
public static final AsciiString IF_NONE_MATCH
"if-none-match"
public static final AsciiString IF_RANGE
"if-range"
public static final AsciiString IF_UNMODIFIED_SINCE
"if-unmodified-since"
@Deprecated public static final AsciiString KEEP_ALIVE
CONNECTION
"keep-alive"
public static final AsciiString LAST_MODIFIED
"last-modified"
public static final AsciiString LOCATION
"location"
public static final AsciiString MAX_FORWARDS
"max-forwards"
public static final AsciiString ORIGIN
"origin"
public static final AsciiString PRAGMA
"pragma"
public static final AsciiString PROXY_AUTHENTICATE
"proxy-authenticate"
public static final AsciiString PROXY_AUTHORIZATION
"proxy-authorization"
@Deprecated public static final AsciiString PROXY_CONNECTION
CONNECTION
"proxy-connection"
public static final AsciiString RANGE
"range"
public static final AsciiString REFERER
"referer"
public static final AsciiString RETRY_AFTER
"retry-after"
public static final AsciiString SEC_WEBSOCKET_KEY1
"sec-websocket-key1"
public static final AsciiString SEC_WEBSOCKET_KEY2
"sec-websocket-key2"
public static final AsciiString SEC_WEBSOCKET_LOCATION
"sec-websocket-location"
public static final AsciiString SEC_WEBSOCKET_ORIGIN
"sec-websocket-origin"
public static final AsciiString SEC_WEBSOCKET_PROTOCOL
"sec-websocket-protocol"
public static final AsciiString SEC_WEBSOCKET_VERSION
"sec-websocket-version"
public static final AsciiString SEC_WEBSOCKET_KEY
"sec-websocket-key"
public static final AsciiString SEC_WEBSOCKET_ACCEPT
"sec-websocket-accept"
public static final AsciiString SEC_WEBSOCKET_EXTENSIONS
"sec-websocket-protocol"
public static final AsciiString SERVER
"server"
public static final AsciiString SET_COOKIE
"set-cookie"
public static final AsciiString SET_COOKIE2
"set-cookie2"
public static final AsciiString TE
"te"
public static final AsciiString TRAILER
"trailer"
public static final AsciiString TRANSFER_ENCODING
"transfer-encoding"
public static final AsciiString UPGRADE
"upgrade"
public static final AsciiString UPGRADE_INSECURE_REQUESTS
"upgrade-insecure-requests"
public static final AsciiString USER_AGENT
"user-agent"
public static final AsciiString VARY
"vary"
public static final AsciiString VIA
"via"
public static final AsciiString WARNING
"warning"
public static final AsciiString WEBSOCKET_LOCATION
"websocket-location"
public static final AsciiString WEBSOCKET_ORIGIN
"websocket-origin"
public static final AsciiString WEBSOCKET_PROTOCOL
"websocket-protocol"
public static final AsciiString WWW_AUTHENTICATE
"www-authenticate"
public static final AsciiString X_FRAME_OPTIONS
"x-frame-options"
public static final AsciiString X_REQUESTED_WITH
"x-requested-with"
public static final AsciiString ALT_SVC
"alt-svc"
Copyright © 2008–2024 The Netty Project. All rights reserved.