public final class Headers extends Object
HttpRequestParser
Modifier and Type | Method and Description |
---|---|
static String | extractQuotedValueFromHeader(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 | fromCache(String string) |
public static final String ACCEPT_STRING
public static final String ACCEPT_CHARSET_STRING
public static final String ACCEPT_ENCODING_STRING
public static final String ACCEPT_LANGUAGE_STRING
public static final String ACCEPT_RANGES_STRING
public static final String AGE_STRING
public static final String ALLOW_STRING
public static final String AUTHENTICATION_INFO_STRING
public static final String AUTHORIZATION_STRING
public static final String CACHE_CONTROL_STRING
public static final String COOKIE_STRING
public static final String COOKIE2_STRING
public static final String CONNECTION_STRING
public static final String CONTENT_DISPOSITION_STRING
public static final String CONTENT_ENCODING_STRING
public static final String CONTENT_LANGUAGE_STRING
public static final String CONTENT_LENGTH_STRING
public static final String CONTENT_LOCATION_STRING
public static final String CONTENT_MD5_STRING
public static final String CONTENT_RANGE_STRING
public static final String CONTENT_TYPE_STRING
public static final String DATE_STRING
public static final String ETAG_STRING
public static final String EXPECT_STRING
public static final String EXPIRES_STRING
public static final String FROM_STRING
public static final String HOST_STRING
public static final String IF_MATCH_STRING
public static final String IF_MODIFIED_SINCE_STRING
public static final String IF_NONE_MATCH_STRING
public static final String IF_RANGE_STRING
public static final String IF_UNMODIFIED_SINCE_STRING
public static final String LAST_MODIFIED_STRING
public static final String LOCATION_STRING
public static final String MAX_FORWARDS_STRING
public static final String ORIGIN_STRING
public static final String PRAGMA_STRING
public static final String PROXY_AUTHENTICATE_STRING
public static final String PROXY_AUTHORIZATION_STRING
public static final String RANGE_STRING
public static final String REFERER_STRING
public static final String REFRESH_STRING
public static final String RETRY_AFTER_STRING
public static final String SEC_WEB_SOCKET_ACCEPT_STRING
public static final String SEC_WEB_SOCKET_EXTENSIONS_STRING
public static final String SEC_WEB_SOCKET_KEY_STRING
public static final String SEC_WEB_SOCKET_KEY1_STRING
public static final String SEC_WEB_SOCKET_KEY2_STRING
public static final String SEC_WEB_SOCKET_LOCATION_STRING
public static final String SEC_WEB_SOCKET_ORIGIN_STRING
public static final String SEC_WEB_SOCKET_PROTOCOL_STRING
public static final String SEC_WEB_SOCKET_VERSION_STRING
public static final String SERVER_STRING
public static final String SERVLET_ENGINE_STRING
public static final String SET_COOKIE_STRING
public static final String SET_COOKIE2_STRING
public static final String SSL_CLIENT_CERT_STRING
public static final String SSL_CIPHER_STRING
public static final String SSL_SESSION_ID_STRING
public static final String SSL_CIPHER_USEKEYSIZE_STRING
public static final String STATUS_STRING
public static final String STRICT_TRANSPORT_SECURITY_STRING
public static final String TE_STRING
public static final String TRAILER_STRING
public static final String TRANSFER_ENCODING_STRING
public static final String UPGRADE_STRING
public static final String USER_AGENT_STRING
public static final String VARY_STRING
public static final String VIA_STRING
public static final String WARNING_STRING
public static final String WWW_AUTHENTICATE_STRING
public static final String X_FORWARDED_FOR_STRING
public static final String X_FORWARDED_PROTO_STRING
public static final String X_FORWARDED_HOST_STRING
public static final String X_FORWARDED_PORT_STRING
public static final String X_DISABLE_PUSH_STRING
public static final String X_FORWARDED_SERVER_STRING
public static final HttpString ACCEPT
public static final HttpString ACCEPT_CHARSET
public static final HttpString ACCEPT_ENCODING
public static final HttpString ACCEPT_LANGUAGE
public static final HttpString ACCEPT_RANGES
public static final HttpString AGE
public static final HttpString ALLOW
public static final HttpString AUTHENTICATION_INFO
public static final HttpString AUTHORIZATION
public static final HttpString CACHE_CONTROL
public static final HttpString CONNECTION
public static final HttpString CONTENT_DISPOSITION
public static final HttpString CONTENT_ENCODING
public static final HttpString CONTENT_LANGUAGE
public static final HttpString CONTENT_LENGTH
public static final HttpString CONTENT_LOCATION
public static final HttpString CONTENT_MD5
public static final HttpString CONTENT_RANGE
public static final HttpString CONTENT_TYPE
public static final HttpString COOKIE
public static final HttpString COOKIE2
public static final HttpString DATE
public static final HttpString ETAG
public static final HttpString EXPECT
public static final HttpString EXPIRES
public static final HttpString FROM
public static final HttpString HOST
public static final HttpString IF_MATCH
public static final HttpString IF_MODIFIED_SINCE
public static final HttpString IF_NONE_MATCH
public static final HttpString IF_RANGE
public static final HttpString IF_UNMODIFIED_SINCE
public static final HttpString LAST_MODIFIED
public static final HttpString LOCATION
public static final HttpString MAX_FORWARDS
public static final HttpString ORIGIN
public static final HttpString PRAGMA
public static final HttpString PROXY_AUTHENTICATE
public static final HttpString PROXY_AUTHORIZATION
public static final HttpString RANGE
public static final HttpString REFERER
public static final HttpString REFRESH
public static final HttpString RETRY_AFTER
public static final HttpString SEC_WEB_SOCKET_ACCEPT
public static final HttpString SEC_WEB_SOCKET_EXTENSIONS
public static final HttpString SEC_WEB_SOCKET_KEY
public static final HttpString SEC_WEB_SOCKET_KEY1
public static final HttpString SEC_WEB_SOCKET_KEY2
public static final HttpString SEC_WEB_SOCKET_LOCATION
public static final HttpString SEC_WEB_SOCKET_ORIGIN
public static final HttpString SEC_WEB_SOCKET_PROTOCOL
public static final HttpString SEC_WEB_SOCKET_VERSION
public static final HttpString SERVER
public static final HttpString SERVLET_ENGINE
public static final HttpString SET_COOKIE
public static final HttpString SET_COOKIE2
public static final HttpString SSL_CLIENT_CERT
public static final HttpString SSL_CIPHER
public static final HttpString SSL_SESSION_ID
public static final HttpString SSL_CIPHER_USEKEYSIZE
public static final HttpString STATUS
public static final HttpString STRICT_TRANSPORT_SECURITY
public static final HttpString TE
public static final HttpString TRAILER
public static final HttpString TRANSFER_ENCODING
public static final HttpString UPGRADE
public static final HttpString USER_AGENT
public static final HttpString VARY
public static final HttpString VIA
public static final HttpString WARNING
public static final HttpString WWW_AUTHENTICATE
public static final HttpString X_DISABLE_PUSH
public static final HttpString X_FORWARDED_FOR
public static final HttpString X_FORWARDED_HOST
public static final HttpString X_FORWARDED_PORT
public static final HttpString X_FORWARDED_PROTO
public static final HttpString X_FORWARDED_SERVER
public static final HttpString COMPRESS
public static final HttpString X_COMPRESS
public static final HttpString DEFLATE
public static final HttpString IDENTITY
public static final HttpString GZIP
public static final HttpString X_GZIP
public static final HttpString CHUNKED
public static final HttpString KEEP_ALIVE
public static final HttpString CLOSE
public static final String CONTENT_TRANSFER_ENCODING_STRING
public static final HttpString CONTENT_TRANSFER_ENCODING
public static final HttpString BASIC
public static final HttpString DIGEST
public static final HttpString NEGOTIATE
public static final HttpString ALGORITHM
public static final HttpString AUTH_PARAM
public static final HttpString CNONCE
public static final HttpString DOMAIN
public static final HttpString NEXT_NONCE
public static final HttpString NONCE
public static final HttpString NONCE_COUNT
public static final HttpString OPAQUE
public static final HttpString QOP
public static final HttpString REALM
public static final HttpString RESPONSE
public static final HttpString RESPONSE_AUTH
public static final HttpString STALE
public static final HttpString URI
public static final HttpString USERNAME
public static HttpString fromCache(String string)
@Deprecated public static String extractTokenFromHeader(String header, String key)
content-type=multipart/form-data boundary=myboundary and the key is boundary the myboundary will be returned.
header
- The headerkey
- The key that identifies the token to extractpublic static String extractQuotedValueFromHeader(String header, String key)
content-disposition=form-data; name="my field" and the key is name then "my field" will be returned without the quotes.
header
- The headerkey
- The key that identifies the token to extractCopyright © 2017 JBoss by Red Hat. All rights reserved.