Package io.muserver
Class HeaderNames
- java.lang.Object
-
- io.muserver.HeaderNames
-
public final class HeaderNames extends java.lang.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 java.lang.CharSequence
ACCEPT
"accept"
static java.lang.CharSequence
ACCEPT_CHARSET
"accept-charset"
static java.lang.CharSequence
ACCEPT_ENCODING
"accept-encoding"
static java.lang.CharSequence
ACCEPT_LANGUAGE
"accept-language"
static java.lang.CharSequence
ACCEPT_PATCH
"accept-patch"
static java.lang.CharSequence
ACCEPT_RANGES
"accept-ranges"
static java.lang.CharSequence
ACCESS_CONTROL_ALLOW_CREDENTIALS
"access-control-allow-credentials"
static java.lang.CharSequence
ACCESS_CONTROL_ALLOW_HEADERS
"access-control-allow-headers"
static java.lang.CharSequence
ACCESS_CONTROL_ALLOW_METHODS
"access-control-allow-methods"
static java.lang.CharSequence
ACCESS_CONTROL_ALLOW_ORIGIN
"access-control-allow-origin"
static java.lang.CharSequence
ACCESS_CONTROL_EXPOSE_HEADERS
"access-control-expose-headers"
static java.lang.CharSequence
ACCESS_CONTROL_MAX_AGE
"access-control-max-age"
static java.lang.CharSequence
ACCESS_CONTROL_REQUEST_HEADERS
"access-control-request-headers"
static java.lang.CharSequence
ACCESS_CONTROL_REQUEST_METHOD
"access-control-request-method"
static java.lang.CharSequence
AGE
"age"
static java.lang.CharSequence
ALLOW
"allow"
static java.lang.CharSequence
AUTHORIZATION
"authorization"
static java.lang.CharSequence
CACHE_CONTROL
"cache-control"
static java.lang.CharSequence
CONNECTION
"connection"
static java.lang.CharSequence
CONTENT_BASE
"content-base"
static java.lang.CharSequence
CONTENT_DISPOSITION
"content-disposition"
static java.lang.CharSequence
CONTENT_ENCODING
"content-encoding"
static java.lang.CharSequence
CONTENT_LANGUAGE
"content-language"
static java.lang.CharSequence
CONTENT_LENGTH
"content-length"
static java.lang.CharSequence
CONTENT_LOCATION
"content-location"
static java.lang.CharSequence
CONTENT_MD5
"content-md5"
static java.lang.CharSequence
CONTENT_RANGE
"content-range"
static java.lang.CharSequence
CONTENT_SECURITY_POLICY
"content-security-policy"
static java.lang.CharSequence
CONTENT_TRANSFER_ENCODING
"content-transfer-encoding"
static java.lang.CharSequence
CONTENT_TYPE
"content-type"
static java.lang.CharSequence
COOKIE
"cookie"
static java.lang.CharSequence
DATE
"date"
static java.lang.CharSequence
ETAG
"etag"
static java.lang.CharSequence
EXPECT
"expect"
static java.lang.CharSequence
EXPIRES
"expires"
static java.lang.CharSequence
FORWARDED
"forwarded"
static java.lang.CharSequence
FROM
"from"
static java.lang.CharSequence
HOST
"host"
static java.lang.CharSequence
IF_MATCH
"if-match"
static java.lang.CharSequence
IF_MODIFIED_SINCE
"if-modified-since"
static java.lang.CharSequence
IF_NONE_MATCH
"if-none-match"
static java.lang.CharSequence
IF_RANGE
"if-range"
static java.lang.CharSequence
IF_UNMODIFIED_SINCE
"if-unmodified-since"
static java.lang.CharSequence
LAST_EVENT_ID
"last-event-id"
static java.lang.CharSequence
LAST_MODIFIED
"last-modified"
static java.lang.CharSequence
LINK
"link"
static java.lang.CharSequence
LOCATION
"location"
static java.lang.CharSequence
MAX_FORWARDS
"max-forwards"
static java.lang.CharSequence
ORIGIN
"origin"
static java.lang.CharSequence
PRAGMA
"pragma"
static java.lang.CharSequence
PROXY_AUTHENTICATE
"proxy-authenticate"
static java.lang.CharSequence
PROXY_AUTHORIZATION
"proxy-authorization"
static java.lang.CharSequence
RANGE
"range"
static java.lang.CharSequence
REFERER
"referer"
static java.lang.CharSequence
RETRY_AFTER
"retry-after"
static java.lang.CharSequence
SEC_WEBSOCKET_ACCEPT
"sec-websocket-accept"
static java.lang.CharSequence
SEC_WEBSOCKET_EXTENSIONS
"sec-websocket-protocol"
static java.lang.CharSequence
SEC_WEBSOCKET_KEY
"sec-websocket-key"
static java.lang.CharSequence
SEC_WEBSOCKET_KEY1
"sec-websocket-key1"
static java.lang.CharSequence
SEC_WEBSOCKET_KEY2
"sec-websocket-key2"
static java.lang.CharSequence
SEC_WEBSOCKET_LOCATION
"sec-websocket-location"
static java.lang.CharSequence
SEC_WEBSOCKET_ORIGIN
"sec-websocket-origin"
static java.lang.CharSequence
SEC_WEBSOCKET_PROTOCOL
"sec-websocket-protocol"
static java.lang.CharSequence
SEC_WEBSOCKET_VERSION
"sec-websocket-version"
static java.lang.CharSequence
SERVER
"server"
static java.lang.CharSequence
SET_COOKIE
"set-cookie"
static java.lang.CharSequence
SET_COOKIE2
"set-cookie2"
static java.lang.CharSequence
STRICT_TRANSPORT_SECURITY
"te"
static java.lang.CharSequence
TE
"te"
static java.lang.CharSequence
TRAILER
"trailer"
static java.lang.CharSequence
TRANSFER_ENCODING
"transfer-encoding"
static java.lang.CharSequence
UPGRADE
"upgrade"
static java.lang.CharSequence
USER_AGENT
"user-agent"
static java.lang.CharSequence
VARY
"vary"
static java.lang.CharSequence
VIA
"via"
static java.lang.CharSequence
WARNING
"warning"
static java.lang.CharSequence
WEBSOCKET_LOCATION
"websocket-location"
static java.lang.CharSequence
WEBSOCKET_ORIGIN
"websocket-origin"
static java.lang.CharSequence
WEBSOCKET_PROTOCOL
"websocket-protocol"
static java.lang.CharSequence
WWW_AUTHENTICATE
"www-authenticate"
static java.lang.CharSequence
X_CONTENT_TYPE_OPTIONS
"content-type"
static java.lang.CharSequence
X_FORWARDED_FOR
"x-forwarded-for"
static java.lang.CharSequence
X_FORWARDED_HOST
"x-forwarded-host"
static java.lang.CharSequence
X_FORWARDED_PORT
"x-forwarded-port"
static java.lang.CharSequence
X_FORWARDED_PROTO
"x-forwarded-proto"
static java.lang.CharSequence
X_FRAME_OPTIONS
"x-frame-options"
-
-
-
Field Detail
-
ACCEPT
public static final java.lang.CharSequence ACCEPT
"accept"
-
ACCEPT_CHARSET
public static final java.lang.CharSequence ACCEPT_CHARSET
"accept-charset"
-
ACCEPT_ENCODING
public static final java.lang.CharSequence ACCEPT_ENCODING
"accept-encoding"
-
ACCEPT_LANGUAGE
public static final java.lang.CharSequence ACCEPT_LANGUAGE
"accept-language"
-
ACCEPT_RANGES
public static final java.lang.CharSequence ACCEPT_RANGES
"accept-ranges"
-
ACCEPT_PATCH
public static final java.lang.CharSequence ACCEPT_PATCH
"accept-patch"
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_CREDENTIALS
"access-control-allow-credentials"
-
ACCESS_CONTROL_ALLOW_HEADERS
public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_HEADERS
"access-control-allow-headers"
-
ACCESS_CONTROL_ALLOW_METHODS
public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_METHODS
"access-control-allow-methods"
-
ACCESS_CONTROL_ALLOW_ORIGIN
public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_ORIGIN
"access-control-allow-origin"
-
ACCESS_CONTROL_EXPOSE_HEADERS
public static final java.lang.CharSequence ACCESS_CONTROL_EXPOSE_HEADERS
"access-control-expose-headers"
-
ACCESS_CONTROL_MAX_AGE
public static final java.lang.CharSequence ACCESS_CONTROL_MAX_AGE
"access-control-max-age"
-
ACCESS_CONTROL_REQUEST_HEADERS
public static final java.lang.CharSequence ACCESS_CONTROL_REQUEST_HEADERS
"access-control-request-headers"
-
ACCESS_CONTROL_REQUEST_METHOD
public static final java.lang.CharSequence ACCESS_CONTROL_REQUEST_METHOD
"access-control-request-method"
-
AGE
public static final java.lang.CharSequence AGE
"age"
-
ALLOW
public static final java.lang.CharSequence ALLOW
"allow"
-
AUTHORIZATION
public static final java.lang.CharSequence AUTHORIZATION
"authorization"
-
CACHE_CONTROL
public static final java.lang.CharSequence CACHE_CONTROL
"cache-control"
-
CONNECTION
public static final java.lang.CharSequence CONNECTION
"connection"
-
CONTENT_BASE
public static final java.lang.CharSequence CONTENT_BASE
"content-base"
-
CONTENT_ENCODING
public static final java.lang.CharSequence CONTENT_ENCODING
"content-encoding"
-
CONTENT_LANGUAGE
public static final java.lang.CharSequence CONTENT_LANGUAGE
"content-language"
-
CONTENT_LENGTH
public static final java.lang.CharSequence CONTENT_LENGTH
"content-length"
-
CONTENT_LOCATION
public static final java.lang.CharSequence CONTENT_LOCATION
"content-location"
-
CONTENT_TRANSFER_ENCODING
public static final java.lang.CharSequence CONTENT_TRANSFER_ENCODING
"content-transfer-encoding"
-
CONTENT_DISPOSITION
public static final java.lang.CharSequence CONTENT_DISPOSITION
"content-disposition"
-
CONTENT_MD5
public static final java.lang.CharSequence CONTENT_MD5
"content-md5"
-
CONTENT_RANGE
public static final java.lang.CharSequence CONTENT_RANGE
"content-range"
-
CONTENT_SECURITY_POLICY
public static final java.lang.CharSequence CONTENT_SECURITY_POLICY
"content-security-policy"
-
CONTENT_TYPE
public static final java.lang.CharSequence CONTENT_TYPE
"content-type"
-
COOKIE
public static final java.lang.CharSequence COOKIE
"cookie"
-
DATE
public static final java.lang.CharSequence DATE
"date"
-
ETAG
public static final java.lang.CharSequence ETAG
"etag"
-
EXPECT
public static final java.lang.CharSequence EXPECT
"expect"
-
EXPIRES
public static final java.lang.CharSequence EXPIRES
"expires"
-
FORWARDED
public static final java.lang.CharSequence FORWARDED
"forwarded"
-
FROM
public static final java.lang.CharSequence FROM
"from"
-
HOST
public static final java.lang.CharSequence HOST
"host"
-
IF_MATCH
public static final java.lang.CharSequence IF_MATCH
"if-match"
-
IF_MODIFIED_SINCE
public static final java.lang.CharSequence IF_MODIFIED_SINCE
"if-modified-since"
-
IF_NONE_MATCH
public static final java.lang.CharSequence IF_NONE_MATCH
"if-none-match"
-
IF_RANGE
public static final java.lang.CharSequence IF_RANGE
"if-range"
-
IF_UNMODIFIED_SINCE
public static final java.lang.CharSequence IF_UNMODIFIED_SINCE
"if-unmodified-since"
-
LAST_EVENT_ID
public static final java.lang.CharSequence LAST_EVENT_ID
"last-event-id"
-
LAST_MODIFIED
public static final java.lang.CharSequence LAST_MODIFIED
"last-modified"
-
LINK
public static final java.lang.CharSequence LINK
"link"
-
LOCATION
public static final java.lang.CharSequence LOCATION
"location"
-
MAX_FORWARDS
public static final java.lang.CharSequence MAX_FORWARDS
"max-forwards"
-
ORIGIN
public static final java.lang.CharSequence ORIGIN
"origin"
-
PRAGMA
public static final java.lang.CharSequence PRAGMA
"pragma"
-
PROXY_AUTHENTICATE
public static final java.lang.CharSequence PROXY_AUTHENTICATE
"proxy-authenticate"
-
PROXY_AUTHORIZATION
public static final java.lang.CharSequence PROXY_AUTHORIZATION
"proxy-authorization"
-
RANGE
public static final java.lang.CharSequence RANGE
"range"
-
REFERER
public static final java.lang.CharSequence REFERER
"referer"
-
RETRY_AFTER
public static final java.lang.CharSequence RETRY_AFTER
"retry-after"
-
SEC_WEBSOCKET_KEY1
public static final java.lang.CharSequence SEC_WEBSOCKET_KEY1
"sec-websocket-key1"
-
SEC_WEBSOCKET_KEY2
public static final java.lang.CharSequence SEC_WEBSOCKET_KEY2
"sec-websocket-key2"
-
SEC_WEBSOCKET_LOCATION
public static final java.lang.CharSequence SEC_WEBSOCKET_LOCATION
"sec-websocket-location"
-
SEC_WEBSOCKET_ORIGIN
public static final java.lang.CharSequence SEC_WEBSOCKET_ORIGIN
"sec-websocket-origin"
-
SEC_WEBSOCKET_PROTOCOL
public static final java.lang.CharSequence SEC_WEBSOCKET_PROTOCOL
"sec-websocket-protocol"
-
SEC_WEBSOCKET_VERSION
public static final java.lang.CharSequence SEC_WEBSOCKET_VERSION
"sec-websocket-version"
-
SEC_WEBSOCKET_KEY
public static final java.lang.CharSequence SEC_WEBSOCKET_KEY
"sec-websocket-key"
-
SEC_WEBSOCKET_ACCEPT
public static final java.lang.CharSequence SEC_WEBSOCKET_ACCEPT
"sec-websocket-accept"
-
SEC_WEBSOCKET_EXTENSIONS
public static final java.lang.CharSequence SEC_WEBSOCKET_EXTENSIONS
"sec-websocket-protocol"
-
SERVER
public static final java.lang.CharSequence SERVER
"server"
-
SET_COOKIE
public static final java.lang.CharSequence SET_COOKIE
"set-cookie"
-
SET_COOKIE2
public static final java.lang.CharSequence SET_COOKIE2
"set-cookie2"
-
STRICT_TRANSPORT_SECURITY
public static final java.lang.CharSequence STRICT_TRANSPORT_SECURITY
"te"
-
TE
public static final java.lang.CharSequence TE
"te"
-
TRAILER
public static final java.lang.CharSequence TRAILER
"trailer"
-
TRANSFER_ENCODING
public static final java.lang.CharSequence TRANSFER_ENCODING
"transfer-encoding"
-
UPGRADE
public static final java.lang.CharSequence UPGRADE
"upgrade"
-
USER_AGENT
public static final java.lang.CharSequence USER_AGENT
"user-agent"
-
VARY
public static final java.lang.CharSequence VARY
"vary"
-
VIA
public static final java.lang.CharSequence VIA
"via"
-
WARNING
public static final java.lang.CharSequence WARNING
"warning"
-
WEBSOCKET_LOCATION
public static final java.lang.CharSequence WEBSOCKET_LOCATION
"websocket-location"
-
WEBSOCKET_ORIGIN
public static final java.lang.CharSequence WEBSOCKET_ORIGIN
"websocket-origin"
-
WEBSOCKET_PROTOCOL
public static final java.lang.CharSequence WEBSOCKET_PROTOCOL
"websocket-protocol"
-
WWW_AUTHENTICATE
public static final java.lang.CharSequence WWW_AUTHENTICATE
"www-authenticate"
-
X_CONTENT_TYPE_OPTIONS
public static final java.lang.CharSequence X_CONTENT_TYPE_OPTIONS
"content-type"
-
X_FORWARDED_FOR
public static final java.lang.CharSequence X_FORWARDED_FOR
"x-forwarded-for"
-
X_FORWARDED_HOST
public static final java.lang.CharSequence X_FORWARDED_HOST
"x-forwarded-host"
-
X_FORWARDED_PORT
public static final java.lang.CharSequence X_FORWARDED_PORT
"x-forwarded-port"
-
X_FORWARDED_PROTO
public static final java.lang.CharSequence X_FORWARDED_PROTO
"x-forwarded-proto"
-
X_FRAME_OPTIONS
public static final java.lang.CharSequence X_FRAME_OPTIONS
"x-frame-options"
-
-