public enum HttpHeader extends Enum<HttpHeader>
Enum Constant and Description |
---|
ACCEPT
Request Fields.
|
ACCEPT_CHARSET |
ACCEPT_ENCODING |
ACCEPT_LANGUAGE |
ACCEPT_RANGES
Response Fields.
|
AGE |
ALLOW
Entity Fields.
|
AUTHORIZATION |
CACHE_CONTROL |
CONNECTION
General Fields.
|
CONTENT_ENCODING |
CONTENT_LANGUAGE |
CONTENT_LENGTH |
CONTENT_LOCATION |
CONTENT_MD5 |
CONTENT_RANGE |
CONTENT_TYPE |
COOKIE
Other Fields.
|
DATE |
ETAG |
EXPECT |
EXPIRES |
FORWARDED |
FROM |
HOST |
IDENTITY |
IF_MATCH |
IF_MODIFIED_SINCE |
IF_NONE_MATCH |
IF_RANGE |
IF_UNMODIFIED_SINCE |
KEEP_ALIVE |
LAST_MODIFIED |
LOCATION |
MAX_FORWARDS |
MIME_VERSION |
NEGOTIATE |
PRAGMA |
PROXY_AUTHENTICATE |
PROXY_AUTHORIZATION |
PROXY_CONNECTION |
RANGE |
REFERER |
REQUEST_RANGE |
RETRY_AFTER |
SERVER |
SERVLET_ENGINE |
SET_COOKIE |
SET_COOKIE2 |
TE |
TRAILER |
TRANSFER_ENCODING |
UNKNOWN |
UPGRADE |
USER_AGENT |
VARY |
VIA |
WARNING |
WWW_AUTHENTICATE |
X_FORWARDED_FOR |
X_FORWARDED_HOST |
X_FORWARDED_PROTO |
X_FORWARDED_SERVER |
X_POWERED_BY |
Modifier and Type | Field and Description |
---|---|
static Trie<HttpHeader> |
CACHE |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
byte[] |
getBytes() |
byte[] |
getBytesColonSpace() |
boolean |
is(String s) |
ByteBuffer |
toBuffer() |
String |
toString() |
static HttpHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpHeader CONNECTION
public static final HttpHeader CACHE_CONTROL
public static final HttpHeader DATE
public static final HttpHeader PRAGMA
public static final HttpHeader PROXY_CONNECTION
public static final HttpHeader TRAILER
public static final HttpHeader TRANSFER_ENCODING
public static final HttpHeader UPGRADE
public static final HttpHeader VIA
public static final HttpHeader WARNING
public static final HttpHeader NEGOTIATE
public static final HttpHeader ALLOW
public static final HttpHeader CONTENT_ENCODING
public static final HttpHeader CONTENT_LANGUAGE
public static final HttpHeader CONTENT_LENGTH
public static final HttpHeader CONTENT_LOCATION
public static final HttpHeader CONTENT_MD5
public static final HttpHeader CONTENT_RANGE
public static final HttpHeader CONTENT_TYPE
public static final HttpHeader EXPIRES
public static final HttpHeader LAST_MODIFIED
public static final HttpHeader ACCEPT
public static final HttpHeader ACCEPT_CHARSET
public static final HttpHeader ACCEPT_ENCODING
public static final HttpHeader ACCEPT_LANGUAGE
public static final HttpHeader AUTHORIZATION
public static final HttpHeader EXPECT
public static final HttpHeader FORWARDED
public static final HttpHeader FROM
public static final HttpHeader HOST
public static final HttpHeader IF_MATCH
public static final HttpHeader IF_MODIFIED_SINCE
public static final HttpHeader IF_NONE_MATCH
public static final HttpHeader IF_RANGE
public static final HttpHeader IF_UNMODIFIED_SINCE
public static final HttpHeader KEEP_ALIVE
public static final HttpHeader MAX_FORWARDS
public static final HttpHeader PROXY_AUTHORIZATION
public static final HttpHeader RANGE
public static final HttpHeader REQUEST_RANGE
public static final HttpHeader REFERER
public static final HttpHeader TE
public static final HttpHeader USER_AGENT
public static final HttpHeader X_FORWARDED_FOR
public static final HttpHeader X_FORWARDED_PROTO
public static final HttpHeader X_FORWARDED_SERVER
public static final HttpHeader X_FORWARDED_HOST
public static final HttpHeader ACCEPT_RANGES
public static final HttpHeader AGE
public static final HttpHeader ETAG
public static final HttpHeader LOCATION
public static final HttpHeader PROXY_AUTHENTICATE
public static final HttpHeader RETRY_AFTER
public static final HttpHeader SERVER
public static final HttpHeader SERVLET_ENGINE
public static final HttpHeader VARY
public static final HttpHeader WWW_AUTHENTICATE
public static final HttpHeader COOKIE
public static final HttpHeader SET_COOKIE
public static final HttpHeader SET_COOKIE2
public static final HttpHeader MIME_VERSION
public static final HttpHeader IDENTITY
public static final HttpHeader X_POWERED_BY
public static final HttpHeader UNKNOWN
public static final Trie<HttpHeader> CACHE
public static HttpHeader[] values()
for (HttpHeader c : HttpHeader.values()) System.out.println(c);
public static HttpHeader valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ByteBuffer toBuffer()
public byte[] getBytes()
public byte[] getBytesColonSpace()
public boolean is(String s)
public String asString()
public String toString()
toString
in class Enum<HttpHeader>
Copyright © 1995-2015 Webtide. All Rights Reserved.