java.lang.Object
io.helidon.common.http.Http.Header
- Enclosing class:
- Http
Utility class with a list of names of standard HTTP headers and related tooling methods.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The"Accept"
header name.static final String
The"Accept-Charset"
header name.static final String
The"Accept-Datetime"
header name.static final String
The"Accept-Encoding"
header name.static final String
The"Accept-Language"
header name.static final String
The"Accept-Patch"
header name.static final String
The"Accept-Ranges"
header name.static final String
The"Age"
header name.static final String
The"Allow"
header name.static final String
The"Alt-Svc"
header name.static final String
The"Authorization"
header name.static final String
The"Cache-Control"
header name.static final String
The"Connection"
header name.static final String
The"Content-Disposition"
header name.static final String
The"Content-Encoding"
header name.static final String
The"Content-Language"
header name.static final String
The"Content-Length"
header name.static final String
The"aa"
header name.static final String
The"Content-Range"
header name.static final String
The"Content-Type"
header name.static final String
The"Cookie"
header name.static final String
The"Date"
header name.static final String
The"ETag"
header name.static final String
The"Expect"
header name.static final String
The"Expires"
header name.static final String
The"Forwarded"
header name.static final String
The"From"
header name.static final String
The"Host"
header name.static final String
The"If-Match"
header name.static final String
The"If-Modified-Since"
header name.static final String
The"If-None-Match"
header name.static final String
The"If-Range"
header name.static final String
The"If-Unmodified-Since"
header name.static final String
The"Last-Modified"
header name.static final String
The"Link"
header name.static final String
The"Location"
header name.static final String
The"Max-Forwards"
header name.static final String
The"Origin"
header name.static final String
The"Pragma"
header name.static final String
The"Public-Key-Pins"
header name.static final String
The"Range"
header name.static final String
The"Referer"
header name.static final String
The"Retry-After"
header name.static final String
The"Server"
header name.static final String
The"Set-Cookie"
header name.static final String
The"Strict-Transport-Security"
header name.static final String
The"TE"
header name.static final String
The"Trailer"
header name.static final String
The"Transfer-Encoding"
header name.static final String
The"TSV"
header name.static final String
The"Upgrade"
header name.static final String
The"User-Agent"
header name.static final String
The"Vary"
header name.static final String
The"Via"
header name.static final String
The"Warning"
header name.static final String
The"WWW-Authenticate"
header name.static final String
TheX-Forwarded-For
header name.static final String
TheX-Forwarded-Host
header name.static final String
TheX-Forwarded-Port
header name.static final String
TheX-Forwarded-Prefix
header name.static final String
TheX-Forwarded-Proto
header name.static final String
The"X-HELIDON-CN"
header name. -
Method Summary
-
Field Details
-
ACCEPT
The"Accept"
header name. Content-Types that are acceptedTypes for the response.- See Also:
-
ACCEPT_CHARSET
The"Accept-Charset"
header name. Character sets that are acceptedTypes.- See Also:
-
ACCEPT_ENCODING
The"Accept-Encoding"
header name. List of acceptedTypes encodings.- See Also:
-
ACCEPT_LANGUAGE
The"Accept-Language"
header name. List of acceptedTypes human languages for response.- See Also:
-
ACCEPT_DATETIME
The"Accept-Datetime"
header name. Acceptable version in time.- See Also:
-
AUTHORIZATION
The"Authorization"
header name. Authentication credentials for HTTP authentication.- See Also:
-
COOKIE
The"Cookie"
header name. An HTTP cookie previously sent by the server with "Set-Cookie".- See Also:
-
EXPECT
The"Expect"
header name. Indicates that particular server behaviors are required by the client.- See Also:
-
FORWARDED
The"Forwarded"
header name. Disclose original information of a client connecting to a web server through an HTTP proxy.- See Also:
-
X_FORWARDED_FOR
TheX-Forwarded-For
header name. Used to represent the original host requested by a client, when request passed through a proxy server.- See Also:
-
X_FORWARDED_HOST
TheX-Forwarded-Host
header name. Used to represent the original host requested by a client, when request passed through a proxy server.- See Also:
-
X_FORWARDED_PORT
TheX-Forwarded-Port
header name. Used to represent the original port requested by a client, when request passed through a proxy server.- See Also:
-
X_FORWARDED_PREFIX
TheX-Forwarded-Prefix
header name. Used to represent the original path prefix requested by a client, when request passed through a proxy server.- See Also:
-
X_FORWARDED_PROTO
TheX-Forwarded-Proto
header name. Used to represent the original protocol used by a client, when request passed through a proxy server.- See Also:
-
FROM
The"From"
header name. The email address of the user making the request.- See Also:
-
HOST
The"Host"
header name. The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening. The port number may be omitted if the port is the standard port for the service requested.- See Also:
-
IF_MATCH
The"If-Match"
header name. Only perform the action if the client supplied entity matches the same entity on the server. This is mainly for methods like PUT to only update a resource if it has not been modified since the user last updated it.- See Also:
-
IF_MODIFIED_SINCE
The"If-Modified-Since"
header name. Allows a 304 Not Modified to be returned if content is unchanged.- See Also:
-
IF_NONE_MATCH
The"If-None-Match"
header name. Allows a 304 Not Modified to be returned if content is unchanged, based onETAG
.- See Also:
-
IF_RANGE
The"If-Range"
header name. If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.- See Also:
-
IF_UNMODIFIED_SINCE
The"If-Unmodified-Since"
header name. Only send the response if the entity has not been modified since a specific time.- See Also:
-
MAX_FORWARDS
The"Max-Forwards"
header name. Limit the number of times the message can be forwarded through proxies or gateways.- See Also:
-
ORIGIN
The"Origin"
header name. Initiates a request for cross-origin resource sharing (asks server for an'Access-Control-Allow-Origin'
response field).- See Also:
-
RANGE
The"Range"
header name. Request only part of an entity. Bytes are numbered from 0.- See Also:
-
REFERER
The"Referer"
header name. This is the address of the previous web page from which a link to the currently requested page was followed. (The word referrer has been misspelled in the RFC as well as in most implementations to the point that it has become standard usage and is considered correct terminology.)- See Also:
-
TE
The"TE"
header name. The transfer encodings the user agent is willing to acceptedTypes: the same values as for the response header fieldTransfer-Encoding
can be used, plus the trailers value (related to the chunked transfer method) to notify the server it expects to receive additional fields in the trailer after the last, zero-sized, chunk.- See Also:
-
USER_AGENT
The"User-Agent"
header name. The user agent string of the user agent.- See Also:
-
VIA
The"Via"
header name. Informs the server of proxies through which the request was sent.- See Also:
-
ACCEPT_PATCH
The"Accept-Patch"
header name. Specifies which patch document formats this server supports.- See Also:
-
ACCEPT_RANGES
The"Accept-Ranges"
header name. What partial content range types this server supports via byte serving.- See Also:
-
AGE
The"Age"
header name. The age the object has been in a proxy cache in seconds.- See Also:
-
ALLOW
The"Allow"
header name. Valid actions for a specified resource. To be used for a 405 Method not allowed.- See Also:
-
ALT_SVC
The"Alt-Svc"
header name. A server uses Alt-Svc header (meaning Alternative Services) to indicate that its resources can also be accessed at a different network location (host or port) or using a different protocol.- See Also:
-
CACHE_CONTROL
The"Cache-Control"
header name. Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds.- See Also:
-
CONNECTION
The"Connection"
header name. Control options for the current connection and list of hop-by-hop response fields.- See Also:
-
CONTENT_DISPOSITION
The"Content-Disposition"
header name. An opportunity to raise a File Download dialogue box for a known MIME type with binary format or suggest a filename for dynamic content. Quotes are necessary with special characters.- See Also:
-
CONTENT_ENCODING
The"Content-Encoding"
header name. The type of encoding used on the data.- See Also:
-
CONTENT_LANGUAGE
The"Content-Language"
header name. The natural language or languages of the intended audience for the enclosed content.- See Also:
-
CONTENT_LENGTH
The"Content-Length"
header name. The length of the response body in octets.- See Also:
-
CONTENT_LOCATION
The"aa"
header name. An alternate location for the returned data.- See Also:
-
CONTENT_RANGE
The"Content-Range"
header name. Where in a full body message this partial message belongs.- See Also:
-
CONTENT_TYPE
The"Content-Type"
header name. The MIME type of this content.- See Also:
-
DATE
The"Date"
header name. The date and time that the message was sent (in HTTP-date format as defined by RFC 7231).- See Also:
-
ETAG
The"ETag"
header name. An identifier for a specific version of a resource, often a message digest.- See Also:
-
EXPIRES
The"Expires"
header name. Gives the date/time after which the response is considered stale (in HTTP-date format as defined by RFC 7231)- See Also:
-
LAST_MODIFIED
The"Last-Modified"
header name. The last modified date for the requested object (in HTTP-date format as defined by RFC 7231)- See Also:
-
LINK
The"Link"
header name. Used to express a typed relationship with another resource, where the relation type is defined by RFC 5988.- See Also:
-
LOCATION
The"Location"
header name. Used in redirection, or whenRequest a new resource has been created.- See Also:
-
PRAGMA
The"Pragma"
header name. Implementation-specific fields that may have various effects anywhere along the request-response chain.- See Also:
-
PUBLIC_KEY_PINS
The"Public-Key-Pins"
header name. HTTP Public Key Pinning, announces hash of website's authentic TLS certificate.- See Also:
-
RETRY_AFTER
The"Retry-After"
header name. If an entity is temporarily unavailable, this instructs the client to try again later. Value could be a specified period of time (in seconds) or an HTTP-date.- See Also:
-
SERVER
The"Server"
header name. A name for the server.- See Also:
-
SET_COOKIE
The"Set-Cookie"
header name. An HTTP cookie set directive.- See Also:
-
STRICT_TRANSPORT_SECURITY
The"Strict-Transport-Security"
header name. A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains.- See Also:
-
TRAILER
The"Trailer"
header name. The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer coding.- See Also:
-
TRANSFER_ENCODING
The"Transfer-Encoding"
header name. The form of encoding used to safely transfer the entity to the user. Currently defined methods are:chunked, compress, deflate, gzip, identity
.- See Also:
-
TSV
The"TSV"
header name. Tracking Status Value, value suggested to be sent in response to a DNT(do-not-track).- See Also:
-
UPGRADE
The"Upgrade"
header name. Ask to upgrade to another protocol.- See Also:
-
VARY
The"Vary"
header name. Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server.- See Also:
-
WARNING
The"Warning"
header name. A general warning about possible problems with the entity body.- See Also:
-
WWW_AUTHENTICATE
The"WWW-Authenticate"
header name. Indicates the authentication scheme that should be used to access the requested entity.- See Also:
-
X_HELIDON_CN
The"X-HELIDON-CN"
header name. Corresponds to the certificate CN subject value when client authentication enabled. This header will be removed if it is part of the request.- See Also:
-