Package io.undertow.util
Class Headers
java.lang.Object
io.undertow.util.Headers
NOTE: if you add a new header here you must also add it to
HttpRequestParser
- Author:
- David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final String
static final HttpString
static final HttpString
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
extractQuotedValueFromHeader
(String header, String key) Extracts a quoted value from a header that has a given key.static String
extractQuotedValueFromHeaderWithEncoding
(String header, String key) Extracts a quoted value from a header that has a given key.static String
extractTokenFromHeader
(String header, String key) Deprecated.static HttpString
-
Field Details
-
ACCEPT_STRING
- See Also:
-
ACCEPT_CHARSET_STRING
- See Also:
-
ACCEPT_ENCODING_STRING
- See Also:
-
ACCEPT_LANGUAGE_STRING
- See Also:
-
ACCEPT_RANGES_STRING
- See Also:
-
AGE_STRING
- See Also:
-
ALLOW_STRING
- See Also:
-
AUTHENTICATION_INFO_STRING
- See Also:
-
AUTHORIZATION_STRING
- See Also:
-
CACHE_CONTROL_STRING
- See Also:
-
COOKIE_STRING
- See Also:
-
COOKIE2_STRING
- See Also:
-
CONNECTION_STRING
- See Also:
-
CONTENT_DISPOSITION_STRING
- See Also:
-
CONTENT_ENCODING_STRING
- See Also:
-
CONTENT_LANGUAGE_STRING
- See Also:
-
CONTENT_LENGTH_STRING
- See Also:
-
CONTENT_LOCATION_STRING
- See Also:
-
CONTENT_MD5_STRING
- See Also:
-
CONTENT_RANGE_STRING
- See Also:
-
CONTENT_SECURITY_POLICY_STRING
- See Also:
-
CONTENT_TYPE_STRING
- See Also:
-
DATE_STRING
- See Also:
-
ETAG_STRING
- See Also:
-
EXPECT_STRING
- See Also:
-
EXPIRES_STRING
- See Also:
-
FORWARDED_STRING
- See Also:
-
FROM_STRING
- See Also:
-
HOST_STRING
- See Also:
-
IF_MATCH_STRING
- See Also:
-
IF_MODIFIED_SINCE_STRING
- See Also:
-
IF_NONE_MATCH_STRING
- See Also:
-
IF_RANGE_STRING
- See Also:
-
IF_UNMODIFIED_SINCE_STRING
- See Also:
-
LAST_MODIFIED_STRING
- See Also:
-
LOCATION_STRING
- See Also:
-
MAX_FORWARDS_STRING
- See Also:
-
ORIGIN_STRING
- See Also:
-
PRAGMA_STRING
- See Also:
-
PROXY_AUTHENTICATE_STRING
- See Also:
-
PROXY_AUTHORIZATION_STRING
- See Also:
-
RANGE_STRING
- See Also:
-
REFERER_STRING
- See Also:
-
REFERRER_POLICY_STRING
- See Also:
-
REFRESH_STRING
- See Also:
-
RETRY_AFTER_STRING
- See Also:
-
SEC_WEB_SOCKET_ACCEPT_STRING
- See Also:
-
SEC_WEB_SOCKET_EXTENSIONS_STRING
- See Also:
-
SEC_WEB_SOCKET_KEY_STRING
- See Also:
-
SEC_WEB_SOCKET_KEY1_STRING
- See Also:
-
SEC_WEB_SOCKET_KEY2_STRING
- See Also:
-
SEC_WEB_SOCKET_LOCATION_STRING
- See Also:
-
SEC_WEB_SOCKET_ORIGIN_STRING
- See Also:
-
SEC_WEB_SOCKET_PROTOCOL_STRING
- See Also:
-
SEC_WEB_SOCKET_VERSION_STRING
- See Also:
-
SERVER_STRING
- See Also:
-
SERVLET_ENGINE_STRING
- See Also:
-
SET_COOKIE_STRING
- See Also:
-
SET_COOKIE2_STRING
- See Also:
-
SSL_CLIENT_CERT_STRING
- See Also:
-
SSL_CIPHER_STRING
- See Also:
-
SSL_SESSION_ID_STRING
- See Also:
-
SSL_CIPHER_USEKEYSIZE_STRING
- See Also:
-
STATUS_STRING
- See Also:
-
STRICT_TRANSPORT_SECURITY_STRING
- See Also:
-
TE_STRING
- See Also:
-
TRAILER_STRING
- See Also:
-
TRANSFER_ENCODING_STRING
- See Also:
-
UPGRADE_STRING
- See Also:
-
USER_AGENT_STRING
- See Also:
-
VARY_STRING
- See Also:
-
VIA_STRING
- See Also:
-
WARNING_STRING
- See Also:
-
WWW_AUTHENTICATE_STRING
- See Also:
-
X_CONTENT_TYPE_OPTIONS_STRING
- See Also:
-
X_DISABLE_PUSH_STRING
- See Also:
-
X_FORWARDED_FOR_STRING
- See Also:
-
X_FORWARDED_PROTO_STRING
- See Also:
-
X_FORWARDED_HOST_STRING
- See Also:
-
X_FORWARDED_PORT_STRING
- See Also:
-
X_FORWARDED_SERVER_STRING
- See Also:
-
X_FRAME_OPTIONS_STRING
- See Also:
-
X_XSS_PROTECTION_STRING
- See Also:
-
ACCEPT
-
ACCEPT_CHARSET
-
ACCEPT_ENCODING
-
ACCEPT_LANGUAGE
-
ACCEPT_RANGES
-
AGE
-
ALLOW
-
AUTHENTICATION_INFO
-
AUTHORIZATION
-
CACHE_CONTROL
-
CONNECTION
-
CONTENT_DISPOSITION
-
CONTENT_ENCODING
-
CONTENT_LANGUAGE
-
CONTENT_LENGTH
-
CONTENT_LOCATION
-
CONTENT_MD5
-
CONTENT_RANGE
-
CONTENT_SECURITY_POLICY
-
CONTENT_TYPE
-
COOKIE
-
COOKIE2
-
DATE
-
ETAG
-
EXPECT
-
EXPIRES
-
FORWARDED
-
FROM
-
HOST
-
IF_MATCH
-
IF_MODIFIED_SINCE
-
IF_NONE_MATCH
-
IF_RANGE
-
IF_UNMODIFIED_SINCE
-
LAST_MODIFIED
-
LOCATION
-
MAX_FORWARDS
-
ORIGIN
-
PRAGMA
-
PROXY_AUTHENTICATE
-
PROXY_AUTHORIZATION
-
RANGE
-
REFERER
-
REFERRER_POLICY
-
REFRESH
-
RETRY_AFTER
-
SEC_WEB_SOCKET_ACCEPT
-
SEC_WEB_SOCKET_EXTENSIONS
-
SEC_WEB_SOCKET_KEY
-
SEC_WEB_SOCKET_KEY1
-
SEC_WEB_SOCKET_KEY2
-
SEC_WEB_SOCKET_LOCATION
-
SEC_WEB_SOCKET_ORIGIN
-
SEC_WEB_SOCKET_PROTOCOL
-
SEC_WEB_SOCKET_VERSION
-
SERVER
-
SERVLET_ENGINE
-
SET_COOKIE
-
SET_COOKIE2
-
SSL_CIPHER
-
SSL_CIPHER_USEKEYSIZE
-
SSL_CLIENT_CERT
-
SSL_SESSION_ID
-
STATUS
-
STRICT_TRANSPORT_SECURITY
-
TE
-
TRAILER
-
TRANSFER_ENCODING
-
UPGRADE
-
USER_AGENT
-
VARY
-
VIA
-
WARNING
-
WWW_AUTHENTICATE
-
X_CONTENT_TYPE_OPTIONS
-
X_DISABLE_PUSH
-
X_FORWARDED_FOR
-
X_FORWARDED_HOST
-
X_FORWARDED_PORT
-
X_FORWARDED_PROTO
-
X_FORWARDED_SERVER
-
X_FRAME_OPTIONS
-
X_XSS_PROTECTION
-
COMPRESS
-
X_COMPRESS
-
DEFLATE
-
IDENTITY
-
GZIP
-
X_GZIP
-
CHUNKED
-
KEEP_ALIVE
-
CLOSE
-
CONTENT_TRANSFER_ENCODING_STRING
- See Also:
-
CONTENT_TRANSFER_ENCODING
-
BASIC
-
DIGEST
-
NEGOTIATE
-
ALGORITHM
-
AUTH_PARAM
-
CNONCE
-
DOMAIN
-
NEXT_NONCE
-
NONCE
-
NONCE_COUNT
-
OPAQUE
-
QOP
-
REALM
-
RESPONSE
-
RESPONSE_AUTH
-
STALE
-
URI
-
USERNAME
-
-
Method Details
-
fromCache
-
extractTokenFromHeader
Deprecated.Extracts a token from a header that has a given key. For instance if the header iscontent-type=multipart/form-data boundary=myboundary and the key is boundary the myboundary will be returned.
- Parameters:
header
- The headerkey
- The key that identifies the token to extract- Returns:
- The token, or null if it was not found
-
extractQuotedValueFromHeader
Extracts a quoted value from a header that has a given key. For instance if the header iscontent-disposition=form-data; name="my field" and the key is name then "my field" will be returned without the quotes.
- Parameters:
header
- The headerkey
- The key that identifies the token to extract- Returns:
- The token, or null if it was not found
-
extractQuotedValueFromHeaderWithEncoding
Extracts a quoted value from a header that has a given key. For instance if the header iscontent-disposition=form-data; filename*="utf-8''test.txt" and the key is filename* then "test.txt" will be returned after extracting character set and language (following RFC 2231) and performing URL decoding to the value using the specified encoding
- Parameters:
header
- The headerkey
- The key that identifies the token to extract- Returns:
- The token, or null if it was not found
-