Package io.servicetalk.http.api
Class HttpHeaderNames
- java.lang.Object
-
- io.servicetalk.http.api.HttpHeaderNames
-
public final class HttpHeaderNames extends java.lang.Object
Common request header names and response header names.
-
-
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"
is a header field that contains a list of parameter-identifier pairs that disclose information that is altered or lost when a proxy is involved in the path of the request.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_MODIFIED
"last-modified"
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
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_FORWARDED_FOR
"x-forwarded-for"
(XFF) header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer.static java.lang.CharSequence
X_FORWARDED_HOST
"x-forwarded-host"
(XFH) header is a de-facto standard header for identifying the original host requested by the client in thehost
HTTP request header.static java.lang.CharSequence
X_FORWARDED_PROTO
"x-forwarded-proto"
(XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.static java.lang.CharSequence
X_REQUESTED_WITH
"x-requested-with"
is not a standard, but wildly used by most JavaScript frameworks header to identify Ajax requests.
-
-
-
Field Detail
-
ACCEPT
public static final java.lang.CharSequence ACCEPT
"accept"
- See Also:
- RFC7231, section 5.3.2
-
ACCEPT_CHARSET
public static final java.lang.CharSequence ACCEPT_CHARSET
"accept-charset"
- See Also:
- RFC7231, section 5.3.3
-
ACCEPT_ENCODING
public static final java.lang.CharSequence ACCEPT_ENCODING
"accept-encoding"
- See Also:
- RFC7231, section 5.3.4
-
ACCEPT_LANGUAGE
public static final java.lang.CharSequence ACCEPT_LANGUAGE
"accept-language"
- See Also:
- RFC7231, section 5.3.5
-
ACCEPT_RANGES
public static final java.lang.CharSequence ACCEPT_RANGES
"accept-ranges"
- See Also:
- RFC7233, section 2.3
-
ACCEPT_PATCH
public static final java.lang.CharSequence ACCEPT_PATCH
"accept-patch"
- See Also:
- RFC5789, section 3.1
-
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"
- See Also:
- RFC7234, section 5.1
-
ALLOW
public static final java.lang.CharSequence ALLOW
"allow"
- See Also:
- RFC7231, section 7.4.1
-
AUTHORIZATION
public static final java.lang.CharSequence AUTHORIZATION
"authorization"
- See Also:
- RFC7235, section 4.2
-
CACHE_CONTROL
public static final java.lang.CharSequence CACHE_CONTROL
"cache-control"
- See Also:
- RFC7234, section 5.2
-
CONNECTION
public static final java.lang.CharSequence CONNECTION
"connection"
- See Also:
- RFC7230, section 6.1
-
CONTENT_BASE
public static final java.lang.CharSequence CONTENT_BASE
"content-base"
- See Also:
- RFC2110, section 4.2
-
CONTENT_ENCODING
public static final java.lang.CharSequence CONTENT_ENCODING
"content-encoding"
- See Also:
- RFC7231, section 3.1.2.2
-
CONTENT_LANGUAGE
public static final java.lang.CharSequence CONTENT_LANGUAGE
"content-language"
- See Also:
- RFC7231, section 3.1.3.2
-
CONTENT_LENGTH
public static final java.lang.CharSequence CONTENT_LENGTH
"content-length"
- See Also:
- RFC7230, section 3.3.2
-
CONTENT_LOCATION
public static final java.lang.CharSequence CONTENT_LOCATION
"content-location"
- See Also:
- RFC7231, section 3.1.4.2
-
CONTENT_TRANSFER_ENCODING
public static final java.lang.CharSequence CONTENT_TRANSFER_ENCODING
"content-transfer-encoding"
- See Also:
- RFC2045, section 6
-
CONTENT_DISPOSITION
public static final java.lang.CharSequence CONTENT_DISPOSITION
"content-disposition"
- See Also:
- RFC6266
-
CONTENT_MD5
public static final java.lang.CharSequence CONTENT_MD5
"content-md5"
- See Also:
- RFC2616, section 14.15
-
CONTENT_RANGE
public static final java.lang.CharSequence CONTENT_RANGE
"content-range"
- See Also:
- RFC7233, section 4.2
-
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"
- See Also:
- RFC7231, section 3.1.1.5
-
COOKIE
public static final java.lang.CharSequence COOKIE
"cookie"
- See Also:
- RFC6265, section 4.2
-
DATE
public static final java.lang.CharSequence DATE
"date"
- See Also:
- RFC7231, section 7.1.1.2
-
ETAG
public static final java.lang.CharSequence ETAG
"etag"
- See Also:
- RFC7232, section 2.3
-
EXPECT
public static final java.lang.CharSequence EXPECT
"expect"
- See Also:
- RFC7231, section 5.1.1
-
EXPIRES
public static final java.lang.CharSequence EXPIRES
"expires"
- See Also:
- RFC7234, section 5.3
-
FORWARDED
public static final java.lang.CharSequence FORWARDED
"forwarded"
is a header field that contains a list of parameter-identifier pairs that disclose information that is altered or lost when a proxy is involved in the path of the request.The alternative and de-facto standard versions of this header are the
"x-forwarded-for"
,"x-forwarded-host"
and"x-forwarded-proto"
headers.- See Also:
- RFC7231, section 4
-
FROM
public static final java.lang.CharSequence FROM
"from"
- See Also:
- RFC7231, section 5.5.1
-
HOST
public static final java.lang.CharSequence HOST
"host"
- See Also:
- RFC7230, section 5.4
-
IF_MATCH
public static final java.lang.CharSequence IF_MATCH
"if-match"
- See Also:
- RFC7232, section 3.1
-
IF_MODIFIED_SINCE
public static final java.lang.CharSequence IF_MODIFIED_SINCE
"if-modified-since"
- See Also:
- RFC7232, section 3.3
-
IF_NONE_MATCH
public static final java.lang.CharSequence IF_NONE_MATCH
"if-none-match"
- See Also:
- RFC7232, section 3.2
-
IF_RANGE
public static final java.lang.CharSequence IF_RANGE
"if-range"
- See Also:
- RFC7233, section 3.2
-
IF_UNMODIFIED_SINCE
public static final java.lang.CharSequence IF_UNMODIFIED_SINCE
"if-unmodified-since"
- See Also:
- RFC7232, section 3.4
-
LAST_MODIFIED
public static final java.lang.CharSequence LAST_MODIFIED
"last-modified"
- See Also:
- RFC7232, section 2.2
-
LOCATION
public static final java.lang.CharSequence LOCATION
"location"
- See Also:
- RFC7231, section 7.1.2
-
MAX_FORWARDS
public static final java.lang.CharSequence MAX_FORWARDS
"max-forwards"
- See Also:
- RFC7231, section 5.1.2
-
ORIGIN
public static final java.lang.CharSequence ORIGIN
"origin"
- See Also:
- RFC6454, section 3.2
-
PRAGMA
public static final java.lang.CharSequence PRAGMA
"pragma"
- See Also:
- RFC7234, section 5.4
-
PROXY_AUTHENTICATE
public static final java.lang.CharSequence PROXY_AUTHENTICATE
"proxy-authenticate"
- See Also:
- RFC7235, section 4.3
-
PROXY_AUTHORIZATION
public static final java.lang.CharSequence PROXY_AUTHORIZATION
"proxy-authorization"
- See Also:
- RFC7235, section 4.4
-
RANGE
public static final java.lang.CharSequence RANGE
"range"
- See Also:
- RFC7233, section 3.1
-
REFERER
public static final java.lang.CharSequence REFERER
"referer"
- See Also:
- RFC7231, section 5.5.2
-
RETRY_AFTER
public static final java.lang.CharSequence RETRY_AFTER
"retry-after"
- See Also:
- RFC7231, section 7.1.3
-
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"
- See Also:
- RFC6455, section 11.3.4
-
SEC_WEBSOCKET_VERSION
public static final java.lang.CharSequence SEC_WEBSOCKET_VERSION
"sec-websocket-version"
- See Also:
- RFC6455, section 11.3.5
-
SEC_WEBSOCKET_KEY
public static final java.lang.CharSequence SEC_WEBSOCKET_KEY
"sec-websocket-key"
- See Also:
- RFC6455, section 11.3.1
-
SEC_WEBSOCKET_ACCEPT
public static final java.lang.CharSequence SEC_WEBSOCKET_ACCEPT
"sec-websocket-accept"
- See Also:
- RFC6455, section 11.3.3
-
SEC_WEBSOCKET_EXTENSIONS
public static final java.lang.CharSequence SEC_WEBSOCKET_EXTENSIONS
"sec-websocket-protocol"
- See Also:
- RFC455, section 11.3.2
-
SERVER
public static final java.lang.CharSequence SERVER
"server"
- See Also:
- RFC7231, section 7.4.2
-
SET_COOKIE
public static final java.lang.CharSequence SET_COOKIE
"set-cookie"
- See Also:
- RFC6265, section 4.1
-
SET_COOKIE2
public static final java.lang.CharSequence SET_COOKIE2
"set-cookie2"
- See Also:
- RFC6265, section 9.4
-
TE
public static final java.lang.CharSequence TE
"te"
- See Also:
- RFC7230, section 4.3
-
TRAILER
public static final java.lang.CharSequence TRAILER
"trailer"
- See Also:
- RFC7230, section 4.4
-
TRANSFER_ENCODING
public static final java.lang.CharSequence TRANSFER_ENCODING
"transfer-encoding"
- See Also:
- RFC7230, section 3.3.1
-
UPGRADE
public static final java.lang.CharSequence UPGRADE
"upgrade"
- See Also:
- RFC7230, section 6.7
-
USER_AGENT
public static final java.lang.CharSequence USER_AGENT
"user-agent"
- See Also:
- RFC7231, section 5.5.3
-
VARY
public static final java.lang.CharSequence VARY
"vary"
- See Also:
- RFC7231, section 7.1.4
-
VIA
public static final java.lang.CharSequence VIA
"via"
- See Also:
- RFC7230, section 5.7.1
-
WARNING
public static final java.lang.CharSequence WARNING
"warning"
- See Also:
- RFC7234, section 5.5
-
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"
- See Also:
- RFC7235, section 4.1
-
X_FORWARDED_FOR
public static final java.lang.CharSequence X_FORWARDED_FOR
"x-forwarded-for"
(XFF) header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer.A standardized version of this header is the HTTP
"forwarded"
header.- See Also:
- X-Forwarded-For
-
X_FORWARDED_HOST
public static final java.lang.CharSequence X_FORWARDED_HOST
"x-forwarded-host"
(XFH) header is a de-facto standard header for identifying the original host requested by the client in thehost
HTTP request header.A standardized version of this header is the HTTP
"forwarded"
header.- See Also:
- x-forwarded-host
-
X_FORWARDED_PROTO
public static final java.lang.CharSequence X_FORWARDED_PROTO
"x-forwarded-proto"
(XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.A standardized version of this header is the HTTP
"forwarded"
header.- See Also:
- x-forwarded-proto
-
X_REQUESTED_WITH
public static final java.lang.CharSequence X_REQUESTED_WITH
"x-requested-with"
is not a standard, but wildly used by most JavaScript frameworks header to identify Ajax requests. Usually frameworks send this header with value ofXMLHttpRequest
.
-
-