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