com.google.common.net
Class HttpHeaders

java.lang.Object
  extended by com.google.common.net.HttpHeaders

@Beta
@GwtCompatible
public final class HttpHeaders
extends Object

Contains constant definitions for the HTTP header field names. See:

Since:
11.0
Author:
Kurt Alfred Kluever

Field Summary
static String ACCEPT
          The HTTP Accept header field name.
static String ACCEPT_CHARSET
          The HTTP Accept-Charset header field name.
static String ACCEPT_ENCODING
          The HTTP Accept-Encoding header field name.
static String ACCEPT_LANGUAGE
          The HTTP Accept-Language header field name.
static String ACCEPT_RANGES
          The HTTP Accept-Ranges header field name.
static String ACCESS_CONTROL_ALLOW_CREDENTIALS
          The HTTP Access-Control-Allow-Credentials header field name.
static String ACCESS_CONTROL_ALLOW_HEADERS
          The HTTP Access-Control-Allow-Headers header field name.
static String ACCESS_CONTROL_ALLOW_METHODS
          The HTTP Access-Control-Allow-Methods header field name.
static String ACCESS_CONTROL_ALLOW_ORIGIN
          The HTTP Access-Control-Allow-Origin header field name.
static String ACCESS_CONTROL_EXPOSE_HEADERS
          The HTTP Access-Control-Expose-Headers header field name.
static String ACCESS_CONTROL_MAX_AGE
          The HTTP Access-Control-Max-Age header field name.
static String ACCESS_CONTROL_REQUEST_HEADERS
          The HTTP Access-Control-Request-Headers header field name.
static String ACCESS_CONTROL_REQUEST_METHOD
          The HTTP Access-Control-Request-Method header field name.
static String AGE
          The HTTP Age header field name.
static String ALLOW
          The HTTP Allow header field name.
static String AUTHORIZATION
          The HTTP Authorization header field name.
static String CACHE_CONTROL
          The HTTP Cache-Control header field name.
static String CONNECTION
          The HTTP Connection header field name.
static String CONTENT_DISPOSITION
          The HTTP Content-Disposition header field name.
static String CONTENT_ENCODING
          The HTTP Content-Encoding header field name.
static String CONTENT_LANGUAGE
          The HTTP Content-Language header field name.
static String CONTENT_LENGTH
          The HTTP Content-Length header field name.
static String CONTENT_LOCATION
          The HTTP Content-Location header field name.
static String CONTENT_MD5
          The HTTP Content-MD5 header field name.
static String CONTENT_RANGE
          The HTTP Content-Range header field name.
static String CONTENT_TYPE
          The HTTP Content-Type header field name.
static String COOKIE
          The HTTP Cookie header field name.
static String DATE
          The HTTP Date header field name.
static String DNT
          The HTTP DNT header field name.
static String ETAG
          The HTTP ETag header field name.
static String EXPECT
          The HTTP Expect header field name.
static String EXPIRES
          The HTTP Expires header field name.
static String FROM
          The HTTP From header field name.
static String HOST
          The HTTP Host header field name.
static String IF_MATCH
          The HTTP If-Match header field name.
static String IF_MODIFIED_SINCE
          The HTTP If-Modified-Since header field name.
static String IF_NONE_MATCH
          The HTTP If-None-Match header field name.
static String IF_RANGE
          The HTTP If-Range header field name.
static String IF_UNMODIFIED_SINCE
          The HTTP If-Unmodified-Since header field name.
static String LAST_EVENT_ID
          The HTTP Last-Event-ID header field name.
static String LAST_MODIFIED
          The HTTP Last-Modified header field name.
static String LINK
          The HTTP Link header field name.
static String LOCATION
          The HTTP Location header field name.
static String MAX_FORWARDS
          The HTTP Max-Forwards header field name.
static String ORIGIN
          The HTTP Origin header field name.
static String P3P
          The HTTP P3P header field name.
static String PRAGMA
          The HTTP Pragma header field name.
static String PROXY_AUTHENTICATE
          The HTTP Proxy-Authenticate header field name.
static String PROXY_AUTHORIZATION
          The HTTP Proxy-Authorization header field name.
static String RANGE
          The HTTP Range header field name.
static String REFERER
          The HTTP Referer header field name.
static String REFRESH
          The HTTP Refresh header field name.
static String RETRY_AFTER
          The HTTP Retry-After header field name.
static String SERVER
          The HTTP Server header field name.
static String SET_COOKIE
          The HTTP Set-Cookie header field name.
static String SET_COOKIE2
          The HTTP Set-Cookie2 header field name.
static String TE
          The HTTP TE header field name.
static String TRAILER
          The HTTP Trailer header field name.
static String TRANSFER_ENCODING
          The HTTP Transfer-Encoding header field name.
static String UPGRADE
          The HTTP Upgrade header field name.
static String USER_AGENT
          The HTTP User-Agent header field name.
static String VARY
          The HTTP Vary header field name.
static String VIA
          The HTTP Via header field name.
static String WARNING
          The HTTP Warning header field name.
static String WWW_AUTHENTICATE
          The HTTP WWW-Authenticate header field name.
static String X_CONTENT_TYPE_OPTIONS
          The HTTP X-Content-Type-Options header field name.
static String X_DO_NOT_TRACK
          The HTTP X-Do-Not-Track header field name.
static String X_FORWARDED_FOR
          The HTTP X-Forwarded-For header field name.
static String X_FORWARDED_PROTO
          The HTTP X-Forwarded-Proto header field name.
static String X_FRAME_OPTIONS
          The HTTP X-Frame-Options header field name.
static String X_POWERED_BY
          The HTTP X-Powered-By header field name.
static String X_REQUESTED_WITH
          The HTTP X-Requested-With header field name.
static String X_USER_IP
          The HTTP X-User-IP header field name.
static String X_XSS_PROTECTION
          The HTTP X-XSS-Protection header field name.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_CONTROL

public static final String CACHE_CONTROL
The HTTP Cache-Control header field name.

See Also:
Constant Field Values

CONTENT_LENGTH

public static final String CONTENT_LENGTH
The HTTP Content-Length header field name.

See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
The HTTP Content-Type header field name.

See Also:
Constant Field Values

DATE

public static final String DATE
The HTTP Date header field name.

See Also:
Constant Field Values

PRAGMA

public static final String PRAGMA
The HTTP Pragma header field name.

See Also:
Constant Field Values

VIA

public static final String VIA
The HTTP Via header field name.

See Also:
Constant Field Values

WARNING

public static final String WARNING
The HTTP Warning header field name.

See Also:
Constant Field Values

ACCEPT

public static final String ACCEPT
The HTTP Accept header field name.

See Also:
Constant Field Values

ACCEPT_CHARSET

public static final String ACCEPT_CHARSET
The HTTP Accept-Charset header field name.

See Also:
Constant Field Values

ACCEPT_ENCODING

public static final String ACCEPT_ENCODING
The HTTP Accept-Encoding header field name.

See Also:
Constant Field Values

ACCEPT_LANGUAGE

public static final String ACCEPT_LANGUAGE
The HTTP Accept-Language header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_REQUEST_HEADERS

public static final String ACCESS_CONTROL_REQUEST_HEADERS
The HTTP Access-Control-Request-Headers header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_REQUEST_METHOD

public static final String ACCESS_CONTROL_REQUEST_METHOD
The HTTP Access-Control-Request-Method header field name.

See Also:
Constant Field Values

AUTHORIZATION

public static final String AUTHORIZATION
The HTTP Authorization header field name.

See Also:
Constant Field Values

CONNECTION

public static final String CONNECTION
The HTTP Connection header field name.

See Also:
Constant Field Values

COOKIE

public static final String COOKIE
The HTTP Cookie header field name.

See Also:
Constant Field Values

EXPECT

public static final String EXPECT
The HTTP Expect header field name.

See Also:
Constant Field Values

FROM

public static final String FROM
The HTTP From header field name.

See Also:
Constant Field Values

HOST

public static final String HOST
The HTTP Host header field name.

See Also:
Constant Field Values

IF_MATCH

public static final String IF_MATCH
The HTTP If-Match header field name.

See Also:
Constant Field Values

IF_MODIFIED_SINCE

public static final String IF_MODIFIED_SINCE
The HTTP If-Modified-Since header field name.

See Also:
Constant Field Values

IF_NONE_MATCH

public static final String IF_NONE_MATCH
The HTTP If-None-Match header field name.

See Also:
Constant Field Values

IF_RANGE

public static final String IF_RANGE
The HTTP If-Range header field name.

See Also:
Constant Field Values

IF_UNMODIFIED_SINCE

public static final String IF_UNMODIFIED_SINCE
The HTTP If-Unmodified-Since header field name.

See Also:
Constant Field Values

LAST_EVENT_ID

public static final String LAST_EVENT_ID
The HTTP Last-Event-ID header field name.

See Also:
Constant Field Values

MAX_FORWARDS

public static final String MAX_FORWARDS
The HTTP Max-Forwards header field name.

See Also:
Constant Field Values

ORIGIN

public static final String ORIGIN
The HTTP Origin header field name.

See Also:
Constant Field Values

PROXY_AUTHORIZATION

public static final String PROXY_AUTHORIZATION
The HTTP Proxy-Authorization header field name.

See Also:
Constant Field Values

RANGE

public static final String RANGE
The HTTP Range header field name.

See Also:
Constant Field Values

REFERER

public static final String REFERER
The HTTP Referer header field name.

See Also:
Constant Field Values

TE

public static final String TE
The HTTP TE header field name.

See Also:
Constant Field Values

UPGRADE

public static final String UPGRADE
The HTTP Upgrade header field name.

See Also:
Constant Field Values

USER_AGENT

public static final String USER_AGENT
The HTTP User-Agent header field name.

See Also:
Constant Field Values

ACCEPT_RANGES

public static final String ACCEPT_RANGES
The HTTP Accept-Ranges header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_ALLOW_HEADERS

public static final String ACCESS_CONTROL_ALLOW_HEADERS
The HTTP Access-Control-Allow-Headers header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_ALLOW_METHODS

public static final String ACCESS_CONTROL_ALLOW_METHODS
The HTTP Access-Control-Allow-Methods header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_ALLOW_ORIGIN

public static final String ACCESS_CONTROL_ALLOW_ORIGIN
The HTTP Access-Control-Allow-Origin header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_ALLOW_CREDENTIALS

public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTP Access-Control-Allow-Credentials header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_EXPOSE_HEADERS

public static final String ACCESS_CONTROL_EXPOSE_HEADERS
The HTTP Access-Control-Expose-Headers header field name.

See Also:
Constant Field Values

ACCESS_CONTROL_MAX_AGE

public static final String ACCESS_CONTROL_MAX_AGE
The HTTP Access-Control-Max-Age header field name.

See Also:
Constant Field Values

AGE

public static final String AGE
The HTTP Age header field name.

See Also:
Constant Field Values

ALLOW

public static final String ALLOW
The HTTP Allow header field name.

See Also:
Constant Field Values

CONTENT_DISPOSITION

public static final String CONTENT_DISPOSITION
The HTTP Content-Disposition header field name.

See Also:
Constant Field Values

CONTENT_ENCODING

public static final String CONTENT_ENCODING
The HTTP Content-Encoding header field name.

See Also:
Constant Field Values

CONTENT_LANGUAGE

public static final String CONTENT_LANGUAGE
The HTTP Content-Language header field name.

See Also:
Constant Field Values

CONTENT_LOCATION

public static final String CONTENT_LOCATION
The HTTP Content-Location header field name.

See Also:
Constant Field Values

CONTENT_MD5

public static final String CONTENT_MD5
The HTTP Content-MD5 header field name.

See Also:
Constant Field Values

CONTENT_RANGE

public static final String CONTENT_RANGE
The HTTP Content-Range header field name.

See Also:
Constant Field Values

ETAG

public static final String ETAG
The HTTP ETag header field name.

See Also:
Constant Field Values

EXPIRES

public static final String EXPIRES
The HTTP Expires header field name.

See Also:
Constant Field Values

LAST_MODIFIED

public static final String LAST_MODIFIED
The HTTP Last-Modified header field name.

See Also:
Constant Field Values

LINK

public static final String LINK
The HTTP Link header field name.

See Also:
Constant Field Values

LOCATION

public static final String LOCATION
The HTTP Location header field name.

See Also:
Constant Field Values

P3P

public static final String P3P
The HTTP P3P header field name. Limited browser support.

See Also:
Constant Field Values

PROXY_AUTHENTICATE

public static final String PROXY_AUTHENTICATE
The HTTP Proxy-Authenticate header field name.

See Also:
Constant Field Values

REFRESH

public static final String REFRESH
The HTTP Refresh header field name. Non-standard header supported by most browsers.

See Also:
Constant Field Values

RETRY_AFTER

public static final String RETRY_AFTER
The HTTP Retry-After header field name.

See Also:
Constant Field Values

SERVER

public static final String SERVER
The HTTP Server header field name.

See Also:
Constant Field Values

SET_COOKIE

public static final String SET_COOKIE
The HTTP Set-Cookie header field name.

See Also:
Constant Field Values

SET_COOKIE2

public static final String SET_COOKIE2
The HTTP Set-Cookie2 header field name.

See Also:
Constant Field Values

TRAILER

public static final String TRAILER
The HTTP Trailer header field name.

See Also:
Constant Field Values

TRANSFER_ENCODING

public static final String TRANSFER_ENCODING
The HTTP Transfer-Encoding header field name.

See Also:
Constant Field Values

VARY

public static final String VARY
The HTTP Vary header field name.

See Also:
Constant Field Values

WWW_AUTHENTICATE

public static final String WWW_AUTHENTICATE
The HTTP WWW-Authenticate header field name.

See Also:
Constant Field Values

DNT

public static final String DNT
The HTTP DNT header field name.

See Also:
Constant Field Values

X_CONTENT_TYPE_OPTIONS

public static final String X_CONTENT_TYPE_OPTIONS
The HTTP X-Content-Type-Options header field name.

See Also:
Constant Field Values

X_DO_NOT_TRACK

public static final String X_DO_NOT_TRACK
The HTTP X-Do-Not-Track header field name.

See Also:
Constant Field Values

X_FORWARDED_FOR

public static final String X_FORWARDED_FOR
The HTTP X-Forwarded-For header field name.

See Also:
Constant Field Values

X_FORWARDED_PROTO

public static final String X_FORWARDED_PROTO
The HTTP X-Forwarded-Proto header field name.

See Also:
Constant Field Values

X_FRAME_OPTIONS

public static final String X_FRAME_OPTIONS
The HTTP X-Frame-Options header field name.

See Also:
Constant Field Values

X_POWERED_BY

public static final String X_POWERED_BY
The HTTP X-Powered-By header field name.

See Also:
Constant Field Values

X_REQUESTED_WITH

public static final String X_REQUESTED_WITH
The HTTP X-Requested-With header field name.

See Also:
Constant Field Values

X_USER_IP

public static final String X_USER_IP
The HTTP X-User-IP header field name.

See Also:
Constant Field Values

X_XSS_PROTECTION

public static final String X_XSS_PROTECTION
The HTTP X-XSS-Protection header field name.

See Also:
Constant Field Values


Copyright © 2010-2012. All Rights Reserved.