@GwtCompatible public final class HttpHeaders extends Object
| Modifier and Type | Field and Description |
|---|---|
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_SECURITY_POLICY
The HTTP
Content-Security-Policy header field name. |
static String |
CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTP
Content-Security-Policy-Report-Only 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 |
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
The HTTP
Follow-Only-When-Prerender-Shown header field name. |
static String |
FORWARDED
The HTTP
Forwarded 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 |
PING_FROM
The HTTP
Ping-From header field name. |
static String |
PING_TO
The HTTP
Ping-To 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 |
PUBLIC_KEY_PINS
The HTTP
Public-Key-Pins
header field name. |
static String |
PUBLIC_KEY_PINS_REPORT_ONLY
The HTTP
Public-Key-Pins-Report-Only 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 |
SERVICE_WORKER
The HTTP
Service-Worker header field name. |
static String |
SERVICE_WORKER_ALLOWED
The HTTP
Service-Worker-Allowed 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 |
STRICT_TRANSPORT_SECURITY
The HTTP
Strict-Transport-Security
header field name. |
static String |
TE
The HTTP
TE header field name. |
static String |
TIMING_ALLOW_ORIGIN
The HTTP
Timing-Allow-Origin 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_SECURITY_POLICY
The HTTP nonstandard
X-Content-Security-Policy header field name. |
static String |
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTP nonstandard
X-Content-Security-Policy-Report-Only header field name. |
static String |
X_CONTENT_TYPE_OPTIONS
The HTTP
X-Content-Type-Options header field name. |
static String |
X_DNS_PREFETCH_CONTROL
The HTTP
X-DNS-Prefetch-Control header controls DNS prefetch behavior. |
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 (superseded by Forwarded). |
static String |
X_FORWARDED_HOST
The HTTP
X-Forwarded-Host header field name. |
static String |
X_FORWARDED_PORT
The HTTP
X-Forwarded-Port 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_WEBKIT_CSP
The HTTP nonstandard
X-WebKit-CSP header field name. |
static String |
X_WEBKIT_CSP_REPORT_ONLY
The HTTP nonstandard
X-WebKit-CSP-Report-Only header field name. |
static String |
X_XSS_PROTECTION
The HTTP
X-XSS-Protection header field name. |
public static final String CACHE_CONTROL
Cache-Control header field name.public static final String CONTENT_LENGTH
Content-Length header field name.public static final String CONTENT_TYPE
Content-Type header field name.public static final String DATE
Date header field name.public static final String PRAGMA
Pragma header field name.public static final String VIA
Via header field name.public static final String WARNING
Warning header field name.public static final String ACCEPT
Accept header field name.public static final String ACCEPT_CHARSET
Accept-Charset header field name.public static final String ACCEPT_ENCODING
Accept-Encoding header field name.public static final String ACCEPT_LANGUAGE
Accept-Language header field name.public static final String ACCESS_CONTROL_REQUEST_HEADERS
Access-Control-Request-Headers header field name.public static final String ACCESS_CONTROL_REQUEST_METHOD
Access-Control-Request-Method header field name.public static final String AUTHORIZATION
Authorization header field name.public static final String CONNECTION
Connection header field name.public static final String COOKIE
Cookie header field name.public static final String EXPECT
Expect header field name.public static final String FROM
From header field name.public static final String FORWARDED
Forwarded header field name.@Beta public static final String FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
Follow-Only-When-Prerender-Shown header field name.public static final String HOST
Host header field name.public static final String IF_MATCH
If-Match header field name.public static final String IF_MODIFIED_SINCE
If-Modified-Since header field name.public static final String IF_NONE_MATCH
If-None-Match header field name.public static final String IF_RANGE
If-Range header field name.public static final String IF_UNMODIFIED_SINCE
If-Unmodified-Since header field name.public static final String LAST_EVENT_ID
Last-Event-ID header field name.public static final String MAX_FORWARDS
Max-Forwards header field name.public static final String ORIGIN
Origin header field name.public static final String PROXY_AUTHORIZATION
Proxy-Authorization header field name.public static final String RANGE
Range header field name.public static final String REFERER
Referer header field name.public static final String SERVICE_WORKER
Service-Worker header field name.public static final String TE
TE header field name.public static final String UPGRADE
Upgrade header field name.public static final String USER_AGENT
User-Agent header field name.public static final String ACCEPT_RANGES
Accept-Ranges header field name.public static final String ACCESS_CONTROL_ALLOW_HEADERS
Access-Control-Allow-Headers header field name.public static final String ACCESS_CONTROL_ALLOW_METHODS
Access-Control-Allow-Methods header field name.public static final String ACCESS_CONTROL_ALLOW_ORIGIN
Access-Control-Allow-Origin header field name.public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
Access-Control-Allow-Credentials header field name.public static final String ACCESS_CONTROL_EXPOSE_HEADERS
Access-Control-Expose-Headers header field name.public static final String ACCESS_CONTROL_MAX_AGE
Access-Control-Max-Age header field name.public static final String AGE
Age header field name.public static final String ALLOW
Allow header field name.public static final String CONTENT_DISPOSITION
Content-Disposition header field name.public static final String CONTENT_ENCODING
Content-Encoding header field name.public static final String CONTENT_LANGUAGE
Content-Language header field name.public static final String CONTENT_LOCATION
Content-Location header field name.public static final String CONTENT_MD5
Content-MD5 header field name.public static final String CONTENT_RANGE
Content-Range header field name.public static final String CONTENT_SECURITY_POLICY
Content-Security-Policy header field name.public static final String CONTENT_SECURITY_POLICY_REPORT_ONLY
Content-Security-Policy-Report-Only header field name.public static final String X_CONTENT_SECURITY_POLICY
X-Content-Security-Policy header field name. It was introduced in
CSP v.1 and used by the Firefox
until version 23 and the Internet Explorer version 10.
Please, use CONTENT_SECURITY_POLICY to pass the CSP.public static final String X_CONTENT_SECURITY_POLICY_REPORT_ONLY
X-Content-Security-Policy-Report-Only header field name.
It was introduced in CSP v.1 and
used by the Firefox until version 23 and the Internet Explorer version 10.
Please, use CONTENT_SECURITY_POLICY_REPORT_ONLY to pass the CSP.public static final String X_WEBKIT_CSP
X-WebKit-CSP header field name. It was introduced in
CSP v.1 and used by the Chrome until
version 25. Please, use CONTENT_SECURITY_POLICY to pass the CSP.public static final String X_WEBKIT_CSP_REPORT_ONLY
X-WebKit-CSP-Report-Only header field name. It was introduced in
CSP v.1 and used by the Chrome until
version 25. Please, use CONTENT_SECURITY_POLICY_REPORT_ONLY to pass the CSP.public static final String ETAG
ETag header field name.public static final String EXPIRES
Expires header field name.public static final String LAST_MODIFIED
Last-Modified header field name.public static final String LINK
Link header field name.public static final String LOCATION
Location header field name.public static final String P3P
P3P header field name. Limited browser support.public static final String PROXY_AUTHENTICATE
Proxy-Authenticate header field name.public static final String REFRESH
Refresh header field name. Non-standard header supported by most browsers.public static final String RETRY_AFTER
Retry-After header field name.public static final String SERVER
Server header field name.public static final String SERVICE_WORKER_ALLOWED
Service-Worker-Allowed header field name.public static final String SET_COOKIE
Set-Cookie header field name.public static final String SET_COOKIE2
Set-Cookie2 header field name.public static final String STRICT_TRANSPORT_SECURITY
Strict-Transport-Security
header field name.public static final String TIMING_ALLOW_ORIGIN
Timing-Allow-Origin header field name.public static final String TRAILER
Trailer header field name.public static final String TRANSFER_ENCODING
Transfer-Encoding header field name.public static final String VARY
Vary header field name.public static final String WWW_AUTHENTICATE
WWW-Authenticate header field name.public static final String DNT
DNT header field name.public static final String X_CONTENT_TYPE_OPTIONS
X-Content-Type-Options header field name.public static final String X_DO_NOT_TRACK
X-Do-Not-Track header field name.public static final String X_FORWARDED_FOR
X-Forwarded-For header field name (superseded by Forwarded).public static final String X_FORWARDED_PROTO
X-Forwarded-Proto header field name.public static final String X_FORWARDED_HOST
X-Forwarded-Host header field name.public static final String X_FORWARDED_PORT
X-Forwarded-Port header field name.public static final String X_FRAME_OPTIONS
X-Frame-Options header field name.public static final String X_POWERED_BY
X-Powered-By header field name.@Beta public static final String PUBLIC_KEY_PINS
Public-Key-Pins
header field name.@Beta public static final String PUBLIC_KEY_PINS_REPORT_ONLY
Public-Key-Pins-Report-Only header field name.public static final String X_REQUESTED_WITH
X-Requested-With header field name.public static final String X_USER_IP
X-User-IP header field name.public static final String X_XSS_PROTECTION
X-XSS-Protection header field name.public static final String X_DNS_PREFETCH_CONTROL
X-DNS-Prefetch-Control header controls DNS prefetch behavior. Value can be "on" or "off".
By default, DNS prefetching is "on" for HTTP pages and "off" for HTTPS pages.public static final String PING_FROM
Ping-From header field name.public static final String PING_TO
Ping-To header field name.Copyright © 2010–2017. All rights reserved.