Top Description Inners Fields Constructors Methods
com.google.common.net

public final Class HttpHeaders

extends Object
Class Inheritance
Annotations
@GwtCompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtCompatible

Contains constant definitions for the HTTP header field names. See:
Author
Kurt Alfred Kluever
Since
11.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final String
ACCEPT

The HTTP Accept header field name.

public static final String
ACCEPT_CH

The HTTP Accept-CH header field name.

public static final String
ACCEPT_CHARSET

The HTTP Accept-Charset header field name.

public static final String
ACCEPT_ENCODING

The HTTP Accept-Encoding header field name.

public static final String
ACCEPT_LANGUAGE

The HTTP Accept-Language header field name.

public static final String
ACCEPT_RANGES

The HTTP Accept-Ranges header field name.

public static final String
ACCESS_CONTROL_ALLOW_CREDENTIALS

The HTTP Access-Control-Allow-Credentials header field name.

public static final String
ACCESS_CONTROL_ALLOW_HEADERS

The HTTP Access-Control-Allow-Headers header field name.

public static final String
ACCESS_CONTROL_ALLOW_METHODS

The HTTP Access-Control-Allow-Methods header field name.

public static final String
ACCESS_CONTROL_ALLOW_ORIGIN

The HTTP Access-Control-Allow-Origin header field name.

public static final String
public static final String
ACCESS_CONTROL_EXPOSE_HEADERS

The HTTP Access-Control-Expose-Headers header field name.

public static final String
ACCESS_CONTROL_MAX_AGE

The HTTP Access-Control-Max-Age header field name.

public static final String
ACCESS_CONTROL_REQUEST_HEADERS

The HTTP Access-Control-Request-Headers header field name.

public static final String
ACCESS_CONTROL_REQUEST_METHOD

The HTTP Access-Control-Request-Method header field name.

public static final String
AD_AUCTION_SIGNALS

The HTTP Ad-Auction-Signals header field name.

public static final String
AGE

The HTTP Age header field name.

public static final String
ALLOW

The HTTP Allow header field name.

public static final String
AUTHORIZATION

The HTTP Authorization header field name.

public static final String
CACHE_CONTROL

The HTTP Cache-Control header field name.

public static final String
CDN_LOOP

The HTTP CDN-Loop header field name.

public static final String
CONNECTION

The HTTP Connection header field name.

public static final String
CONTENT_DISPOSITION

The HTTP Content-Disposition header field name.

public static final String
CONTENT_ENCODING

The HTTP Content-Encoding header field name.

public static final String
CONTENT_LANGUAGE

The HTTP Content-Language header field name.

public static final String
CONTENT_LENGTH

The HTTP Content-Length header field name.

public static final String
CONTENT_LOCATION

The HTTP Content-Location header field name.

public static final String
CONTENT_MD5

The HTTP Content-MD5 header field name.

public static final String
CONTENT_RANGE

The HTTP Content-Range header field name.

public static final String
public static final String
public static final String
CONTENT_TYPE

The HTTP Content-Type header field name.

public static final String
COOKIE

The HTTP Cookie header field name.

public static final String
CRITICAL_CH

The HTTP Critical-CH header field name.

public static final String
public static final String
public static final String
CROSS_ORIGIN_OPENER_POLICY

The HTTP Cross-Origin-Opener-Policy header field name.

public static final String
public static final String
DATE

The HTTP Date header field name.

public static final String
DEVICE_MEMORY

The HTTP Device-Memory header field name.

public static final String
DNT

The HTTP DNT header field name.

public static final String
DOWNLINK

The HTTP Downlink header field name.

public static final String
EARLY_DATA

The HTTP Early-Data header field name.

public static final String
ECT

The HTTP ECT header field name.

public static final String
ETAG

The HTTP ETag header field name.

public static final String
EXPECT

The HTTP Expect header field name.

public static final String
EXPIRES

The HTTP Expires header field name.

public static final String
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN

The HTTP Follow-Only-When-Prerender-Shown header field name.

public static final String
FORWARDED

The HTTP Forwarded header field name.

public static final String
FROM

The HTTP From header field name.

public static final String
HOST

The HTTP Host header field name.

public static final String
HTTP2_SETTINGS

The HTTP HTTP2-Settings header field name.

public static final String
IF_MATCH

The HTTP If-Match header field name.

public static final String
IF_MODIFIED_SINCE

The HTTP If-Modified-Since header field name.

public static final String
IF_NONE_MATCH

The HTTP If-None-Match header field name.

public static final String
IF_RANGE

The HTTP If-Range header field name.

public static final String
IF_UNMODIFIED_SINCE

The HTTP If-Unmodified-Since header field name.

public static final String
KEEP_ALIVE

The HTTP Keep-Alive header field name.

public static final String
LAST_EVENT_ID

The HTTP Last-Event-ID header field name.

public static final String
LAST_MODIFIED

The HTTP Last-Modified header field name.

public static final String
LINK

The HTTP Link header field name.

public static final String
LOCATION

The HTTP Location header field name.

public static final String
MAX_FORWARDS

The HTTP Max-Forwards header field name.

public static final String
NO_VARY_SEARCH

The HTTP No-Vary-Seearch header field name.

public static final String
public static final String
ORIGIN

The HTTP Origin header field name.

public static final String
ORIGIN_ISOLATION

The HTTP Origin-Isolation header field name.

public static final String
ORIGIN_TRIAL

The HTTP Origin-Trial header field name.

public static final String
P3P

The HTTP P3P header field name.

public static final String
PERMISSIONS_POLICY

The HTTP Permissions-Policy header field name.

public static final String
PING_FROM

The HTTP Ping-From header field name.

public static final String
PING_TO

The HTTP Ping-To header field name.

public static final String
PRAGMA

The HTTP Pragma header field name.

public static final String
PROXY_AUTHENTICATE

The HTTP Proxy-Authenticate header field name.

public static final String
PROXY_AUTHORIZATION

The HTTP Proxy-Authorization header field name.

public static final String
PUBLIC_KEY_PINS

The HTTP Public-Key-Pins header field name.

public static final String
public static final String
PURPOSE

The HTTP Purpose header field name.

public static final String
RANGE

The HTTP Range header field name.

public static final String
REFERER

The HTTP Referer header field name.

public static final String
REFERRER_POLICY

The HTTP Referrer-Policy header field name.

public static final String
REFRESH

The HTTP Refresh header field name.

public static final String
REPORT_TO

The HTTP Report-To header field name.

public static final String
RETRY_AFTER

The HTTP Retry-After header field name.

public static final String
RTT

The HTTP RTT header field name.

public static final String
SAVE_DATA

The HTTP Save-Data header field name.

public static final String
SEC_AD_AUCTION_FETCH

The HTTP Sec-Ad-Auction-Fetch header field name.

public static final String
SEC_BROWSING_TOPICS

The HTTP Sec-Browsing-Topics header field name.

public static final String
SEC_CH_DPR

The HTTP Sec-CH-DPR header field name.

public static final String
public static final String
SEC_CH_UA

The HTTP Sec-CH-UA header field name.

public static final String
SEC_CH_UA_ARCH

The HTTP Sec-CH-UA-Arch header field name.

public static final String
SEC_CH_UA_BITNESS

The HTTP Sec-CH-UA-Bitness header field name.

public static final String
SEC_CH_UA_FORM_FACTOR

The HTTP Sec-CH-UA-Form-Factor header field name.

public static final String
public static final String
public static final String
SEC_CH_UA_MOBILE

The HTTP Sec-CH-UA-Mobile header field name.

public static final String
SEC_CH_UA_MODEL

The HTTP Sec-CH-UA-Model header field name.

public static final String
SEC_CH_UA_PLATFORM

The HTTP Sec-CH-UA-Platform header field name.

public static final String
public static final String
SEC_CH_UA_WOW64

The HTTP Sec-CH-UA-WoW64 header field name.

public static final String
public static final String
SEC_CH_VIEWPORT_WIDTH

The HTTP Sec-CH-Viewport-Width header field name.

public static final String
SEC_FETCH_DEST

The HTTP Sec-Fetch-Dest header field name.

public static final String
SEC_FETCH_MODE

The HTTP Sec-Fetch-Mode header field name.

public static final String
SEC_FETCH_SITE

The HTTP Sec-Fetch-Site header field name.

public static final String
SEC_FETCH_USER

The HTTP Sec-Fetch-User header field name.

public static final String
SEC_METADATA

The HTTP Sec-Metadata header field name.

public static final String
public static final String
public static final String
SEC_TOKEN_BINDING

The HTTP Sec-Token-Binding header field name.

public static final String
SEC_WEBSOCKET_ACCEPT

The HTTP Sec-WebSocket-Accept header field name.

public static final String
public static final String
SEC_WEBSOCKET_KEY

The HTTP Sec-WebSocket-Key header field name.

public static final String
public static final String
SEC_WEBSOCKET_VERSION

The HTTP Sec-WebSocket-Version header field name.

public static final String
SERVER

The HTTP Server header field name.

public static final String
SERVER_TIMING

The HTTP Server-Timing header field name.

public static final String
SERVICE_WORKER

The HTTP Service-Worker header field name.

public static final String
public static final String
SET_COOKIE

The HTTP Set-Cookie header field name.

public static final String
SET_COOKIE2

The HTTP Set-Cookie2 header field name.

public static final String
SOURCE_MAP

The HTTP SourceMap header field name.

public static final String
public static final String
SUPPORTS_LOADING_MODE

The HTTP Supports-Loading-Mode header field name.

public static final String
TE

The HTTP TE header field name.

public static final String
TIMING_ALLOW_ORIGIN

The HTTP Timing-Allow-Origin header field name.

public static final String
TRAILER

The HTTP Trailer header field name.

public static final String
TRANSFER_ENCODING

The HTTP Transfer-Encoding header field name.

public static final String
UPGRADE

The HTTP Upgrade header field name.

public static final String
public static final String
USER_AGENT

The HTTP User-Agent header field name.

public static final String
VARY

The HTTP Vary header field name.

public static final String
VIA

The HTTP Via header field name.

public static final String
VIEWPORT_WIDTH

The HTTP Viewport-Width header field name.

public static final String
WARNING

The HTTP Warning header field name.

public static final String
WIDTH

The HTTP Width header field name.

public static final String
WWW_AUTHENTICATE

The HTTP WWW-Authenticate header field name.

public static final String
X_CONTENT_SECURITY_POLICY

The HTTP nonstandard X-Content-Security-Policy header field name.

public static final String
X_CONTENT_SECURITY_POLICY_REPORT_ONLY

The HTTP nonstandard X-Content-Security-Policy-Report-Only header field name.

public static final String
X_CONTENT_TYPE_OPTIONS

The HTTP X-Content-Type-Options header field name.

public static final String
public static final String
X_DEVICE_IP

The HTTP X-Device-IP header field name.

public static final String
X_DEVICE_REFERER

The HTTP X-Device-Referer header field name.

public static final String
public static final String
X_DNS_PREFETCH_CONTROL

The HTTP X-DNS-Prefetch-Control header controls DNS prefetch behavior.

public static final String
X_DO_NOT_TRACK

The HTTP X-Do-Not-Track header field name.

public static final String
X_DOWNLOAD_OPTIONS

The HTTP X-Download-Options header field name.

public static final String
X_FORWARDED_FOR

The HTTP X-Forwarded-For header field name (superseded by Forwarded).

public static final String
X_FORWARDED_HOST

The HTTP X-Forwarded-Host header field name.

public static final String
X_FORWARDED_PORT

The HTTP X-Forwarded-Port header field name.

public static final String
X_FORWARDED_PROTO

The HTTP X-Forwarded-Proto header field name.

public static final String
X_FRAME_OPTIONS

The HTTP X-Frame-Options header field name.

public static final String
X_MOZ

The HTTP X-Moz header field name.

public static final String
X_POWERED_BY

The HTTP X-Powered-By header field name.

public static final String
X_PURPOSE

The HTTP X-Purpose header field name.

public static final String
X_REQUEST_ID

The HTTP X-Request-ID header field name.

public static final String
X_REQUESTED_WITH

The HTTP X-Requested-With header field name.

public static final String
X_USER_IP

The HTTP X-User-IP header field name.

public static final String
X_WEBKIT_CSP

The HTTP nonstandard X-WebKit-CSP header field name.

public static final String
X_WEBKIT_CSP_REPORT_ONLY

The HTTP nonstandard X-WebKit-CSP-Report-Only header field name.

public static final String
X_XSS_PROTECTION

The HTTP X-XSS-Protection header field name.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait