|
TagLib documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Header>
org.alweb.doff.http.Header
public enum Header
Represents the HTTP/1.1 headers.
| Enum Constant Summary | |
|---|---|
ACCEPT
The Accept request-header field can be used to specify certain media types which are acceptable for the response. |
|
ACCEPT_CHARSET
The Accept-Charset request-header field can be used to indicate what character sets are acceptable for the response. |
|
ACCEPT_ENCODING
The Accept-Encoding request-header field is similar to Accept, but restricts the content-codings that are acceptable in the response. |
|
ACCEPT_LANGUAGE
The Accept-Language request-header field is similar to Accept, but restricts the set of natural languages that are preferred as a response to the request. |
|
ACCEPT_RANGES
The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a resource. |
|
AGE
The Age response-header field conveys the sender's estimate of the amount of time since the response (or its revalidation) was generated at the origin server. |
|
ALLOW
The Allow entity-header field lists the set of methods supported by the resource identified by the Request-URI. |
|
AUTHORIZATION
A user agent that wishes to authenticate itself with a server does so by including an Authorization request-header field with the request. |
|
CACHE_CONTROL
The Cache-Control general-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. |
|
CONNECTION
The Connection general-header field allows the sender to specify options that are desired for that particular connection and MUST NOT be communicated by proxies over further connections. |
|
CONTENT_DISPOSITION
The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename if the user requests that the content is saved to a file. |
|
CONTENT_ENCODING
The Content-Encoding entity-header field is used as a modifier to the media-type. |
|
CONTENT_LANGUAGE
The Content-Language entity-header field describes the natural language(s) of the intended audience for the enclosed entity. |
|
CONTENT_LENGTH
The Content-Length entity-header field indicates the size of the entity-body, in decimal number of OCTETs, sent to the recipient or, in the case of the HEAD method, the size of the entity-body that would have been sent had the request been a GET. |
|
CONTENT_LOCATION
The Content-Location entity-header field MAY be used to supply the resource location for the entity enclosed in the message when that entity is accessible from a location separate from the requested resource's URI. |
|
CONTENT_MD5
The Content-MD5 entity-header field, as defined in RFC 1864, is an MD5 digest of the entity-body for the purpose of providing an end-to-end message integrity check (MIC) of the entity-body. |
|
CONTENT_RANGE
The Content-Range entity-header is sent with a partial entity-body to specify where in the full entity-body the partial body should be applied. |
|
CONTENT_TYPE
The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the request been a GET. |
|
DATE
The Date general-header field represents the date and time at which the message was originated, having the same semantics as orig-date in RFC 822. |
|
ETAG
The ETag response-header field provides the current value of the entity tag for the requested variant. |
|
EXPECT
The Expect request-header field is used to indicate that particular server behaviors are required by the client. |
|
EXPIRES
The Expires entity-header field gives the date/time after which the response is considered stale. |
|
FROM
The From request-header field, if given, SHOULD contain an Internet e-mail address for the human user who controls the requesting user agent. |
|
HOST
The Host request-header field specifies the Internet host and port number of the resource being requested, as obtained from the original URI given by the user or referring resource. |
|
IF_MATCH
The If-Match request-header field is used with a method to make it conditional. |
|
IF_MODIFIED_SINCE
The If-Modified-Since request-header field is used with a method to make it conditional: if the requested variant has not been modified since the time specified in this field, an entity will not be returned from the server; instead, a 304 (not modified) response will be returned without any message-body. |
|
IF_NONE_MATCH
The If-None-Match request-header field is used with a method to make it conditional. |
|
IF_RANGE
If a client has a partial copy of an entity in its cache, and wishes to have an up-to-date copy of the entire entity in its cache, it could use the Range request-header with a conditional GET. |
|
IF_UNMODIFIED_SINCE
The If-Unmodified-Since request-header field is used with a method to make it conditional. |
|
LAST_MODIFIED
The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was last modified. |
|
LOCATION
The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. |
|
MAX_FORWARDS
The Max-Forwards request-header field provides a mechanism with the TRACE and OPTIONS methods to limit the number of proxies or gateways that can forward the request to the next inbound server. |
|
MIME_VERSION
HTTP/1.1 messages MAY include a single MIME-Version general-header field to indicate what version of the MIME protocol was used to construct the message. |
|
PRAGMA
The Pragma general-header field is used to include implementation- specific directives that might apply to any recipient along the request/response chain. |
|
PROXY_AUTHENTICATE
The Proxy-Authenticate response-header field MUST be included as part of a 407 (Proxy Authentication Required) response. |
|
PROXY_AUTHORIZATION
The Proxy-Authorization request-header field allows the client to identify itself (or its user) to a proxy which requires authentication. |
|
RANGE
|
|
REFERER
The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled). |
|
RETRY_AFTER
The Retry-After response-header field can be used with a 503 (Service Unavailable) response to indicate how long the service is expected to be unavailable to the requesting client. |
|
SERVER
The Server response-header field contains information about the software used by the origin server to handle the request. |
|
TE
The TE request-header field indicates what extension transfer-codings it is willing to accept in the response and whether or not it is willing to accept trailer fields in a chunked transfer-coding. |
|
TRAILER
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. |
|
TRANSFER_ENCODING
The Transfer-Encoding general-header field indicates what (if any) type of transformation has been applied to the message body in order to safely transfer it between the sender and the recipient. |
|
UPGRADE
The Upgrade general-header allows the client to specify what additional communication protocols it supports and would like to use if the server finds it appropriate to switch protocols. |
|
USER_AGENT
The User-Agent request-header field contains information about the user agent originating the request. |
|
VARY
The Vary field value indicates the set of request-header fields that fully determines, while the response is fresh, whether a cache is permitted to use the response to reply to a subsequent request without revalidation. |
|
VIA
The Via general-header field MUST be used by gateways and proxies to indicate the intermediate protocols and recipients between the user agent and the server on requests, and between the origin server and the client on responses. |
|
WARNING
The Warning general-header field is used to carry additional information about the status or transformation of a message which might not be reflected in the message. |
|
WWW_AUTHENTICATE
The WWW-Authenticate response-header field MUST be included in 401 (Unauthorized) response messages. |
|
| Method Summary | |
|---|---|
String |
toString()
Provides a string representation of this header. |
static Header |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Header[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Header ACCEPT
public static final Header ACCEPT_CHARSET
public static final Header ACCEPT_ENCODING
public static final Header ACCEPT_LANGUAGE
public static final Header ACCEPT_RANGES
public static final Header AGE
public static final Header ALLOW
public static final Header AUTHORIZATION
public static final Header CACHE_CONTROL
public static final Header CONNECTION
public static final Header CONTENT_DISPOSITION
public static final Header CONTENT_ENCODING
public static final Header CONTENT_LANGUAGE
public static final Header CONTENT_LENGTH
public static final Header CONTENT_LOCATION
public static final Header CONTENT_MD5
public static final Header CONTENT_RANGE
public static final Header CONTENT_TYPE
public static final Header DATE
public static final Header ETAG
public static final Header EXPECT
public static final Header EXPIRES
public static final Header FROM
public static final Header HOST
public static final Header IF_MATCH
public static final Header IF_MODIFIED_SINCE
public static final Header IF_NONE_MATCH
public static final Header IF_RANGE
public static final Header IF_UNMODIFIED_SINCE
public static final Header LAST_MODIFIED
public static final Header LOCATION
public static final Header MAX_FORWARDS
public static final Header MIME_VERSION
public static final Header PRAGMA
public static final Header PROXY_AUTHENTICATE
public static final Header PROXY_AUTHORIZATION
public static final Header RANGE
public static final Header REFERER
public static final Header RETRY_AFTER
public static final Header SERVER
public static final Header TE
public static final Header TRAILER
public static final Header TRANSFER_ENCODING
public static final Header UPGRADE
public static final Header USER_AGENT
public static final Header VARY
public static final Header VIA
public static final Header WARNING
public static final Header WWW_AUTHENTICATE
| Method Detail |
|---|
public static final Header[] values()
for(Header c : Header.values())
System.out.println(c);
public static Header valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String toString()
toString in class Enum<Header>
|
TagLib documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||