Class Headers

java.lang.Object
io.undertow.util.Headers

@Deprecated public final class Headers extends Object
Deprecated.
Author:
David M. Lloyd
  • Field Details

    • ACCEPT_STRING

      public static final String ACCEPT_STRING
      Deprecated.
      See Also:
    • ACCEPT_CHARSET_STRING

      public static final String ACCEPT_CHARSET_STRING
      Deprecated.
      See Also:
    • ACCEPT_ENCODING_STRING

      public static final String ACCEPT_ENCODING_STRING
      Deprecated.
      See Also:
    • ACCEPT_LANGUAGE_STRING

      public static final String ACCEPT_LANGUAGE_STRING
      Deprecated.
      See Also:
    • ACCEPT_RANGES_STRING

      public static final String ACCEPT_RANGES_STRING
      Deprecated.
      See Also:
    • AGE_STRING

      public static final String AGE_STRING
      Deprecated.
      See Also:
    • ALLOW_STRING

      public static final String ALLOW_STRING
      Deprecated.
      See Also:
    • AUTHENTICATION_INFO_STRING

      public static final String AUTHENTICATION_INFO_STRING
      Deprecated.
      See Also:
    • AUTHORIZATION_STRING

      public static final String AUTHORIZATION_STRING
      Deprecated.
      See Also:
    • CACHE_CONTROL_STRING

      public static final String CACHE_CONTROL_STRING
      Deprecated.
      See Also:
    • COOKIE2_STRING

      public static final String COOKIE2_STRING
      Deprecated.
      See Also:
    • CONNECTION_STRING

      public static final String CONNECTION_STRING
      Deprecated.
      See Also:
    • CONTENT_DISPOSITION_STRING

      public static final String CONTENT_DISPOSITION_STRING
      Deprecated.
      See Also:
    • CONTENT_ENCODING_STRING

      public static final String CONTENT_ENCODING_STRING
      Deprecated.
      See Also:
    • CONTENT_LANGUAGE_STRING

      public static final String CONTENT_LANGUAGE_STRING
      Deprecated.
      See Also:
    • CONTENT_LENGTH_STRING

      public static final String CONTENT_LENGTH_STRING
      Deprecated.
      See Also:
    • CONTENT_LOCATION_STRING

      public static final String CONTENT_LOCATION_STRING
      Deprecated.
      See Also:
    • CONTENT_MD5_STRING

      public static final String CONTENT_MD5_STRING
      Deprecated.
      See Also:
    • CONTENT_RANGE_STRING

      public static final String CONTENT_RANGE_STRING
      Deprecated.
      See Also:
    • CONTENT_SECURITY_POLICY_STRING

      public static final String CONTENT_SECURITY_POLICY_STRING
      Deprecated.
      See Also:
    • CONTENT_TYPE_STRING

      public static final String CONTENT_TYPE_STRING
      Deprecated.
      See Also:
    • DATE_STRING

      public static final String DATE_STRING
      Deprecated.
      See Also:
    • ETAG_STRING

      public static final String ETAG_STRING
      Deprecated.
      See Also:
    • EXPECT_STRING

      public static final String EXPECT_STRING
      Deprecated.
      See Also:
    • EXPIRES_STRING

      public static final String EXPIRES_STRING
      Deprecated.
      See Also:
    • FORWARDED_STRING

      public static final String FORWARDED_STRING
      Deprecated.
      See Also:
    • FROM_STRING

      public static final String FROM_STRING
      Deprecated.
      See Also:
    • HOST_STRING

      public static final String HOST_STRING
      Deprecated.
      See Also:
    • IF_MATCH_STRING

      public static final String IF_MATCH_STRING
      Deprecated.
      See Also:
    • IF_MODIFIED_SINCE_STRING

      public static final String IF_MODIFIED_SINCE_STRING
      Deprecated.
      See Also:
    • IF_NONE_MATCH_STRING

      public static final String IF_NONE_MATCH_STRING
      Deprecated.
      See Also:
    • IF_RANGE_STRING

      public static final String IF_RANGE_STRING
      Deprecated.
      See Also:
    • IF_UNMODIFIED_SINCE_STRING

      public static final String IF_UNMODIFIED_SINCE_STRING
      Deprecated.
      See Also:
    • LAST_MODIFIED_STRING

      public static final String LAST_MODIFIED_STRING
      Deprecated.
      See Also:
    • LOCATION_STRING

      public static final String LOCATION_STRING
      Deprecated.
      See Also:
    • MAX_FORWARDS_STRING

      public static final String MAX_FORWARDS_STRING
      Deprecated.
      See Also:
    • ORIGIN_STRING

      public static final String ORIGIN_STRING
      Deprecated.
      See Also:
    • PRAGMA_STRING

      public static final String PRAGMA_STRING
      Deprecated.
      See Also:
    • PROXY_AUTHENTICATE_STRING

      public static final String PROXY_AUTHENTICATE_STRING
      Deprecated.
      See Also:
    • PROXY_AUTHORIZATION_STRING

      public static final String PROXY_AUTHORIZATION_STRING
      Deprecated.
      See Also:
    • RANGE_STRING

      public static final String RANGE_STRING
      Deprecated.
      See Also:
    • REFERER_STRING

      public static final String REFERER_STRING
      Deprecated.
      See Also:
    • REFERRER_POLICY_STRING

      public static final String REFERRER_POLICY_STRING
      Deprecated.
      See Also:
    • REFRESH_STRING

      public static final String REFRESH_STRING
      Deprecated.
      See Also:
    • RETRY_AFTER_STRING

      public static final String RETRY_AFTER_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_ACCEPT_STRING

      public static final String SEC_WEB_SOCKET_ACCEPT_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_EXTENSIONS_STRING

      public static final String SEC_WEB_SOCKET_EXTENSIONS_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_KEY_STRING

      public static final String SEC_WEB_SOCKET_KEY_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_KEY1_STRING

      public static final String SEC_WEB_SOCKET_KEY1_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_KEY2_STRING

      public static final String SEC_WEB_SOCKET_KEY2_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_LOCATION_STRING

      public static final String SEC_WEB_SOCKET_LOCATION_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_ORIGIN_STRING

      public static final String SEC_WEB_SOCKET_ORIGIN_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_PROTOCOL_STRING

      public static final String SEC_WEB_SOCKET_PROTOCOL_STRING
      Deprecated.
      See Also:
    • SEC_WEB_SOCKET_VERSION_STRING

      public static final String SEC_WEB_SOCKET_VERSION_STRING
      Deprecated.
      See Also:
    • SERVER_STRING

      public static final String SERVER_STRING
      Deprecated.
      See Also:
    • SERVLET_ENGINE_STRING

      public static final String SERVLET_ENGINE_STRING
      Deprecated.
      See Also:
    • SET_COOKIE2_STRING

      public static final String SET_COOKIE2_STRING
      Deprecated.
      See Also:
    • SSL_CLIENT_CERT_STRING

      public static final String SSL_CLIENT_CERT_STRING
      Deprecated.
      See Also:
    • SSL_CIPHER_STRING

      public static final String SSL_CIPHER_STRING
      Deprecated.
      See Also:
    • SSL_SESSION_ID_STRING

      public static final String SSL_SESSION_ID_STRING
      Deprecated.
      See Also:
    • SSL_CIPHER_USEKEYSIZE_STRING

      public static final String SSL_CIPHER_USEKEYSIZE_STRING
      Deprecated.
      See Also:
    • STATUS_STRING

      public static final String STATUS_STRING
      Deprecated.
      See Also:
    • STRICT_TRANSPORT_SECURITY_STRING

      public static final String STRICT_TRANSPORT_SECURITY_STRING
      Deprecated.
      See Also:
    • TE_STRING

      public static final String TE_STRING
      Deprecated.
      See Also:
    • TRAILER_STRING

      public static final String TRAILER_STRING
      Deprecated.
      See Also:
    • TRANSFER_ENCODING_STRING

      public static final String TRANSFER_ENCODING_STRING
      Deprecated.
      See Also:
    • UPGRADE_STRING

      public static final String UPGRADE_STRING
      Deprecated.
      See Also:
    • USER_AGENT_STRING

      public static final String USER_AGENT_STRING
      Deprecated.
      See Also:
    • VARY_STRING

      public static final String VARY_STRING
      Deprecated.
      See Also:
    • VIA_STRING

      public static final String VIA_STRING
      Deprecated.
      See Also:
    • WARNING_STRING

      public static final String WARNING_STRING
      Deprecated.
      See Also:
    • WWW_AUTHENTICATE_STRING

      public static final String WWW_AUTHENTICATE_STRING
      Deprecated.
      See Also:
    • X_CONTENT_TYPE_OPTIONS_STRING

      public static final String X_CONTENT_TYPE_OPTIONS_STRING
      Deprecated.
      See Also:
    • X_DISABLE_PUSH_STRING

      public static final String X_DISABLE_PUSH_STRING
      Deprecated.
      See Also:
    • X_FORWARDED_FOR_STRING

      public static final String X_FORWARDED_FOR_STRING
      Deprecated.
      See Also:
    • X_FORWARDED_PROTO_STRING

      public static final String X_FORWARDED_PROTO_STRING
      Deprecated.
      See Also:
    • X_FORWARDED_HOST_STRING

      public static final String X_FORWARDED_HOST_STRING
      Deprecated.
      See Also:
    • X_FORWARDED_PORT_STRING

      public static final String X_FORWARDED_PORT_STRING
      Deprecated.
      See Also:
    • X_FORWARDED_SERVER_STRING

      public static final String X_FORWARDED_SERVER_STRING
      Deprecated.
      See Also:
    • X_FRAME_OPTIONS_STRING

      public static final String X_FRAME_OPTIONS_STRING
      Deprecated.
      See Also:
    • X_XSS_PROTECTION_STRING

      public static final String X_XSS_PROTECTION_STRING
      Deprecated.
      See Also:
    • ACCEPT

      public static final HttpString ACCEPT
      Deprecated.
    • ACCEPT_CHARSET

      public static final HttpString ACCEPT_CHARSET
      Deprecated.
    • ACCEPT_ENCODING

      public static final HttpString ACCEPT_ENCODING
      Deprecated.
    • ACCEPT_LANGUAGE

      public static final HttpString ACCEPT_LANGUAGE
      Deprecated.
    • ACCEPT_RANGES

      public static final HttpString ACCEPT_RANGES
      Deprecated.
    • AGE

      public static final HttpString AGE
      Deprecated.
    • ALLOW

      public static final HttpString ALLOW
      Deprecated.
    • AUTHENTICATION_INFO

      public static final HttpString AUTHENTICATION_INFO
      Deprecated.
    • AUTHORIZATION

      public static final HttpString AUTHORIZATION
      Deprecated.
    • CACHE_CONTROL

      public static final HttpString CACHE_CONTROL
      Deprecated.
    • CONNECTION

      public static final HttpString CONNECTION
      Deprecated.
    • CONTENT_DISPOSITION

      public static final HttpString CONTENT_DISPOSITION
      Deprecated.
    • CONTENT_ENCODING

      public static final HttpString CONTENT_ENCODING
      Deprecated.
    • CONTENT_LANGUAGE

      public static final HttpString CONTENT_LANGUAGE
      Deprecated.
    • CONTENT_LENGTH

      public static final HttpString CONTENT_LENGTH
      Deprecated.
    • CONTENT_LOCATION

      public static final HttpString CONTENT_LOCATION
      Deprecated.
    • CONTENT_MD5

      public static final HttpString CONTENT_MD5
      Deprecated.
    • CONTENT_RANGE

      public static final HttpString CONTENT_RANGE
      Deprecated.
    • CONTENT_SECURITY_POLICY

      public static final HttpString CONTENT_SECURITY_POLICY
      Deprecated.
    • CONTENT_TYPE

      public static final HttpString CONTENT_TYPE
      Deprecated.
    • COOKIE2

      public static final HttpString COOKIE2
      Deprecated.
    • DATE

      public static final HttpString DATE
      Deprecated.
    • ETAG

      public static final HttpString ETAG
      Deprecated.
    • EXPECT

      public static final HttpString EXPECT
      Deprecated.
    • EXPIRES

      public static final HttpString EXPIRES
      Deprecated.
    • FORWARDED

      public static final HttpString FORWARDED
      Deprecated.
    • FROM

      public static final HttpString FROM
      Deprecated.
    • HOST

      public static final HttpString HOST
      Deprecated.
    • IF_MATCH

      public static final HttpString IF_MATCH
      Deprecated.
    • IF_MODIFIED_SINCE

      public static final HttpString IF_MODIFIED_SINCE
      Deprecated.
    • IF_NONE_MATCH

      public static final HttpString IF_NONE_MATCH
      Deprecated.
    • IF_RANGE

      public static final HttpString IF_RANGE
      Deprecated.
    • IF_UNMODIFIED_SINCE

      public static final HttpString IF_UNMODIFIED_SINCE
      Deprecated.
    • LAST_MODIFIED

      public static final HttpString LAST_MODIFIED
      Deprecated.
    • LOCATION

      public static final HttpString LOCATION
      Deprecated.
    • MAX_FORWARDS

      public static final HttpString MAX_FORWARDS
      Deprecated.
    • ORIGIN

      public static final HttpString ORIGIN
      Deprecated.
    • PRAGMA

      public static final HttpString PRAGMA
      Deprecated.
    • PROXY_AUTHENTICATE

      public static final HttpString PROXY_AUTHENTICATE
      Deprecated.
    • PROXY_AUTHORIZATION

      public static final HttpString PROXY_AUTHORIZATION
      Deprecated.
    • RANGE

      public static final HttpString RANGE
      Deprecated.
    • REFERER

      public static final HttpString REFERER
      Deprecated.
    • REFERRER_POLICY

      public static final HttpString REFERRER_POLICY
      Deprecated.
    • REFRESH

      public static final HttpString REFRESH
      Deprecated.
    • RETRY_AFTER

      public static final HttpString RETRY_AFTER
      Deprecated.
    • SEC_WEB_SOCKET_ACCEPT

      public static final HttpString SEC_WEB_SOCKET_ACCEPT
      Deprecated.
    • SEC_WEB_SOCKET_EXTENSIONS

      public static final HttpString SEC_WEB_SOCKET_EXTENSIONS
      Deprecated.
    • SEC_WEB_SOCKET_KEY

      public static final HttpString SEC_WEB_SOCKET_KEY
      Deprecated.
    • SEC_WEB_SOCKET_KEY1

      public static final HttpString SEC_WEB_SOCKET_KEY1
      Deprecated.
    • SEC_WEB_SOCKET_KEY2

      public static final HttpString SEC_WEB_SOCKET_KEY2
      Deprecated.
    • SEC_WEB_SOCKET_LOCATION

      public static final HttpString SEC_WEB_SOCKET_LOCATION
      Deprecated.
    • SEC_WEB_SOCKET_ORIGIN

      public static final HttpString SEC_WEB_SOCKET_ORIGIN
      Deprecated.
    • SEC_WEB_SOCKET_PROTOCOL

      public static final HttpString SEC_WEB_SOCKET_PROTOCOL
      Deprecated.
    • SEC_WEB_SOCKET_VERSION

      public static final HttpString SEC_WEB_SOCKET_VERSION
      Deprecated.
    • SERVER

      public static final HttpString SERVER
      Deprecated.
    • SERVLET_ENGINE

      public static final HttpString SERVLET_ENGINE
      Deprecated.
    • SET_COOKIE2

      public static final HttpString SET_COOKIE2
      Deprecated.
    • SSL_CIPHER

      public static final HttpString SSL_CIPHER
      Deprecated.
    • SSL_CIPHER_USEKEYSIZE

      public static final HttpString SSL_CIPHER_USEKEYSIZE
      Deprecated.
    • SSL_CLIENT_CERT

      public static final HttpString SSL_CLIENT_CERT
      Deprecated.
    • SSL_SESSION_ID

      public static final HttpString SSL_SESSION_ID
      Deprecated.
    • STATUS

      public static final HttpString STATUS
      Deprecated.
    • STRICT_TRANSPORT_SECURITY

      public static final HttpString STRICT_TRANSPORT_SECURITY
      Deprecated.
    • TE

      public static final HttpString TE
      Deprecated.
    • TRAILER

      public static final HttpString TRAILER
      Deprecated.
    • TRANSFER_ENCODING

      public static final HttpString TRANSFER_ENCODING
      Deprecated.
    • UPGRADE

      public static final HttpString UPGRADE
      Deprecated.
    • USER_AGENT

      public static final HttpString USER_AGENT
      Deprecated.
    • VARY

      public static final HttpString VARY
      Deprecated.
    • VIA

      public static final HttpString VIA
      Deprecated.
    • WARNING

      public static final HttpString WARNING
      Deprecated.
    • WWW_AUTHENTICATE

      public static final HttpString WWW_AUTHENTICATE
      Deprecated.
    • X_CONTENT_TYPE_OPTIONS

      public static final HttpString X_CONTENT_TYPE_OPTIONS
      Deprecated.
    • X_DISABLE_PUSH

      public static final HttpString X_DISABLE_PUSH
      Deprecated.
    • X_FORWARDED_FOR

      public static final HttpString X_FORWARDED_FOR
      Deprecated.
    • X_FORWARDED_HOST

      public static final HttpString X_FORWARDED_HOST
      Deprecated.
    • X_FORWARDED_PORT

      public static final HttpString X_FORWARDED_PORT
      Deprecated.
    • X_FORWARDED_PROTO

      public static final HttpString X_FORWARDED_PROTO
      Deprecated.
    • X_FORWARDED_SERVER

      public static final HttpString X_FORWARDED_SERVER
      Deprecated.
    • X_FRAME_OPTIONS

      public static final HttpString X_FRAME_OPTIONS
      Deprecated.
    • X_XSS_PROTECTION

      public static final HttpString X_XSS_PROTECTION
      Deprecated.
    • COMPRESS

      public static final HttpString COMPRESS
      Deprecated.
    • X_COMPRESS

      public static final HttpString X_COMPRESS
      Deprecated.
    • DEFLATE

      public static final HttpString DEFLATE
      Deprecated.
    • IDENTITY

      public static final HttpString IDENTITY
      Deprecated.
    • GZIP

      public static final HttpString GZIP
      Deprecated.
    • X_GZIP

      public static final HttpString X_GZIP
      Deprecated.
    • CHUNKED

      public static final HttpString CHUNKED
      Deprecated.
    • KEEP_ALIVE

      public static final HttpString KEEP_ALIVE
      Deprecated.
    • CLOSE

      public static final HttpString CLOSE
      Deprecated.
    • CONTENT_TRANSFER_ENCODING_STRING

      public static final String CONTENT_TRANSFER_ENCODING_STRING
      Deprecated.
      See Also:
    • CONTENT_TRANSFER_ENCODING

      public static final HttpString CONTENT_TRANSFER_ENCODING
      Deprecated.
    • BASIC

      public static final HttpString BASIC
      Deprecated.
    • DIGEST

      public static final HttpString DIGEST
      Deprecated.
    • NEGOTIATE

      public static final HttpString NEGOTIATE
      Deprecated.
    • ALGORITHM

      public static final HttpString ALGORITHM
      Deprecated.
    • AUTH_PARAM

      public static final HttpString AUTH_PARAM
      Deprecated.
    • CNONCE

      public static final HttpString CNONCE
      Deprecated.
    • DOMAIN

      public static final HttpString DOMAIN
      Deprecated.
    • NEXT_NONCE

      public static final HttpString NEXT_NONCE
      Deprecated.
    • NONCE

      public static final HttpString NONCE
      Deprecated.
    • NONCE_COUNT

      public static final HttpString NONCE_COUNT
      Deprecated.
    • OPAQUE

      public static final HttpString OPAQUE
      Deprecated.
    • QOP

      public static final HttpString QOP
      Deprecated.
    • REALM

      public static final HttpString REALM
      Deprecated.
    • RESPONSE

      public static final HttpString RESPONSE
      Deprecated.
    • RESPONSE_AUTH

      public static final HttpString RESPONSE_AUTH
      Deprecated.
    • STALE

      public static final HttpString STALE
      Deprecated.
    • URI

      public static final HttpString URI
      Deprecated.
    • USERNAME

      public static final HttpString USERNAME
      Deprecated.
  • Method Details

    • fromCache

      public static HttpString fromCache(String string)
      Deprecated.
    • extractTokenFromHeader

      @Deprecated public static String extractTokenFromHeader(String header, String key)
      Deprecated.
      Extracts a token from a header that has a given key. For instance if the header is

      content-type=multipart/form-data boundary=myboundary and the key is boundary the myboundary will be returned.

      Parameters:
      header - The header
      key - The key that identifies the token to extract
      Returns:
      The token, or null if it was not found
    • extractQuotedValueFromHeader

      public static String extractQuotedValueFromHeader(String header, String key)
      Deprecated.
      Extracts a quoted value from a header that has a given key. For instance if the header is

      content-disposition=form-data; name="my field" and the key is name then "my field" will be returned without the quotes.

      Parameters:
      header - The header
      key - The key that identifies the token to extract
      Returns:
      The token, or null if it was not found
    • extractQuotedValueFromHeaderWithEncoding

      public static String extractQuotedValueFromHeaderWithEncoding(String header, String key)
      Deprecated.
      Extracts a quoted value from a header that has a given key. For instance if the header is

      content-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 header
      key - The key that identifies the token to extract
      Returns:
      The token, or null if it was not found