- java.lang.Object
-
- io.netty5.handler.codec.http.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 Summary
Fields Modifier and Type Field 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
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.useCONNECTION
"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.useCONNECTION
"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_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
WWW_AUTHENTICATE
"www-authenticate"
static AsciiString
X_FRAME_OPTIONS
"x-frame-options"
static AsciiString
X_REQUESTED_WITH
"x-requested-with"
-
-
-
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"
-
AGE
public static final AsciiString AGE
"age"
-
ALLOW
public static final AsciiString ALLOW
"allow"
-
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"
-
DATE
public static final AsciiString DATE
"date"
-
DNT
public static final AsciiString DNT
"dnt"
-
ETAG
public static final AsciiString ETAG
"etag"
-
EXPECT
public static final AsciiString EXPECT
"expect"
-
EXPIRES
public static final AsciiString EXPIRES
"expires"
-
FROM
public static final AsciiString FROM
"from"
-
HOST
public static final AsciiString HOST
"host"
-
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"
-
KEEP_ALIVE
@Deprecated public static final AsciiString KEEP_ALIVE
Deprecated.useCONNECTION
"keep-alive"
-
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"
-
PROXY_CONNECTION
@Deprecated public static final AsciiString PROXY_CONNECTION
Deprecated.useCONNECTION
"proxy-connection"
-
RANGE
public static final AsciiString RANGE
"range"
-
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"
-
TE
public static final AsciiString TE
"te"
-
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"
-
VARY
public static final AsciiString VARY
"vary"
-
VIA
public static final AsciiString VIA
"via"
-
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"
-
-