Class HttpHeaders
java.lang.Object
com.google.common.net.HttpHeaders
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe HTTPAcceptheader field name.static final StringThe HTTPAccept-Charsetheader field name.static final StringThe HTTPAccept-Encodingheader field name.static final StringThe HTTPAccept-Languageheader field name.static final StringThe HTTPAccept-Rangesheader field name.static final StringThe HTTPAccess-Control-Allow-Credentialsheader field name.static final StringThe HTTPAccess-Control-Allow-Headersheader field name.static final StringThe HTTPAccess-Control-Allow-Methodsheader field name.static final StringThe HTTPAccess-Control-Allow-Originheader field name.static final StringThe HTTPAccess-Control-Expose-Headersheader field name.static final StringThe HTTPAccess-Control-Max-Ageheader field name.static final StringThe HTTPAccess-Control-Request-Headersheader field name.static final StringThe HTTPAccess-Control-Request-Methodheader field name.static final StringThe HTTPAgeheader field name.static final StringThe HTTPAllowheader field name.static final StringThe HTTPAuthorizationheader field name.static final StringThe HTTPCache-Controlheader field name.static final StringThe HTTPConnectionheader field name.static final StringThe HTTPContent-Dispositionheader field name.static final StringThe HTTPContent-Encodingheader field name.static final StringThe HTTPContent-Languageheader field name.static final StringThe HTTPContent-Lengthheader field name.static final StringThe HTTPContent-Locationheader field name.static final StringThe HTTPContent-MD5header field name.static final StringThe HTTPContent-Rangeheader field name.static final StringThe HTTPContent-Security-Policyheader field name.static final StringThe HTTPContent-Security-Policy-Report-Onlyheader field name.static final StringThe HTTPContent-Typeheader field name.static final StringThe HTTPCookieheader field name.static final StringThe HTTPDateheader field name.static final StringThe HTTPDNTheader field name.static final StringThe HTTPETagheader field name.static final StringThe HTTPExpectheader field name.static final StringThe HTTPExpiresheader field name.static final StringThe HTTPFollow-Only-When-Prerender-Shownheader field name.static final StringThe HTTPForwardedheader field name.static final StringThe HTTPFromheader field name.static final StringThe HTTPHostheader field name.static final StringThe HTTPIf-Matchheader field name.static final StringThe HTTPIf-Modified-Sinceheader field name.static final StringThe HTTPIf-None-Matchheader field name.static final StringThe HTTPIf-Rangeheader field name.static final StringThe HTTPIf-Unmodified-Sinceheader field name.static final StringThe HTTPLast-Event-IDheader field name.static final StringThe HTTPLast-Modifiedheader field name.static final StringThe HTTPLinkheader field name.static final StringThe HTTPLocationheader field name.static final StringThe HTTPMax-Forwardsheader field name.static final StringThe HTTPOriginheader field name.static final StringThe HTTPP3Pheader field name.static final StringThe HTTPPing-Fromheader field name.static final StringThe HTTPPing-Toheader field name.static final StringThe HTTPPragmaheader field name.static final StringThe HTTPProxy-Authenticateheader field name.static final StringThe HTTPProxy-Authorizationheader field name.static final StringThe HTTPPublic-Key-Pinsheader field name.static final StringThe HTTPPublic-Key-Pins-Report-Onlyheader field name.static final StringThe HTTPRangeheader field name.static final StringThe HTTPRefererheader field name.static final StringThe HTTPRefreshheader field name.static final StringThe HTTPRetry-Afterheader field name.static final StringThe HTTPServerheader field name.static final StringThe HTTPService-Workerheader field name.static final StringThe HTTPService-Worker-Allowedheader field name.static final StringThe HTTPSet-Cookieheader field name.static final StringThe HTTPSet-Cookie2header field name.static final StringThe HTTPStrict-Transport-Securityheader field name.static final StringThe HTTPTEheader field name.static final StringThe HTTPTiming-Allow-Originheader field name.static final StringThe HTTPTrailerheader field name.static final StringThe HTTPTransfer-Encodingheader field name.static final StringThe HTTPUpgradeheader field name.static final StringThe HTTPUser-Agentheader field name.static final StringThe HTTPVaryheader field name.static final StringThe HTTPViaheader field name.static final StringThe HTTPWarningheader field name.static final StringThe HTTPWWW-Authenticateheader field name.static final StringThe HTTP nonstandardX-Content-Security-Policyheader field name.static final StringThe HTTP nonstandardX-Content-Security-Policy-Report-Onlyheader field name.static final StringThe HTTPX-Content-Type-Optionsheader field name.static final StringThe HTTPX-Do-Not-Trackheader field name.static final StringThe HTTPX-Forwarded-Forheader field name (supersed byForwarded).static final StringThe HTTPX-Forwarded-Hostheader field name.static final StringThe HTTPX-Forwarded-Portheader field name.static final StringThe HTTPX-Forwarded-Protoheader field name.static final StringThe HTTPX-Frame-Optionsheader field name.static final StringThe HTTPX-Powered-Byheader field name.static final StringThe HTTPX-Requested-Withheader field name.static final StringThe HTTPX-User-IPheader field name.static final StringThe HTTP nonstandardX-WebKit-CSPheader field name.static final StringThe HTTP nonstandardX-WebKit-CSP-Report-Onlyheader field name.static final StringThe HTTPX-XSS-Protectionheader field name. -
Method Summary
-
Field Details
-
CACHE_CONTROL
-
CONTENT_LENGTH
-
CONTENT_TYPE
-
DATE
-
PRAGMA
-
VIA
-
WARNING
-
ACCEPT
-
ACCEPT_CHARSET
-
ACCEPT_ENCODING
-
ACCEPT_LANGUAGE
-
ACCESS_CONTROL_REQUEST_HEADERS
The HTTPAccess-Control-Request-Headersheader field name.- See Also:
-
ACCESS_CONTROL_REQUEST_METHOD
The HTTPAccess-Control-Request-Methodheader field name.- See Also:
-
AUTHORIZATION
-
CONNECTION
-
COOKIE
-
EXPECT
-
FROM
-
FORWARDED
-
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
-
HOST
-
IF_MATCH
-
IF_MODIFIED_SINCE
The HTTPIf-Modified-Sinceheader field name.- See Also:
-
IF_NONE_MATCH
-
IF_RANGE
-
IF_UNMODIFIED_SINCE
The HTTPIf-Unmodified-Sinceheader field name.- See Also:
-
LAST_EVENT_ID
-
MAX_FORWARDS
-
ORIGIN
-
PROXY_AUTHORIZATION
The HTTPProxy-Authorizationheader field name.- See Also:
-
RANGE
-
REFERER
-
SERVICE_WORKER
-
TE
-
UPGRADE
-
USER_AGENT
-
ACCEPT_RANGES
-
ACCESS_CONTROL_ALLOW_HEADERS
The HTTPAccess-Control-Allow-Headersheader field name.- See Also:
-
ACCESS_CONTROL_ALLOW_METHODS
The HTTPAccess-Control-Allow-Methodsheader field name.- See Also:
-
ACCESS_CONTROL_ALLOW_ORIGIN
The HTTPAccess-Control-Allow-Originheader field name.- See Also:
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTPAccess-Control-Allow-Credentialsheader field name.- See Also:
-
ACCESS_CONTROL_EXPOSE_HEADERS
The HTTPAccess-Control-Expose-Headersheader field name.- See Also:
-
ACCESS_CONTROL_MAX_AGE
The HTTPAccess-Control-Max-Ageheader field name.- See Also:
-
AGE
-
ALLOW
-
CONTENT_DISPOSITION
The HTTPContent-Dispositionheader field name.- See Also:
-
CONTENT_ENCODING
-
CONTENT_LANGUAGE
-
CONTENT_LOCATION
-
CONTENT_MD5
-
CONTENT_RANGE
-
CONTENT_SECURITY_POLICY
The HTTPContent-Security-Policyheader field name.- Since:
- 15.0
- See Also:
-
CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTPContent-Security-Policy-Report-Onlyheader field name.- Since:
- 15.0
- See Also:
-
X_CONTENT_SECURITY_POLICY
The HTTP nonstandardX-Content-Security-Policyheader field name. It was introduced in CSP v.1 and used by the Firefox until version 23 and the Internet Explorer version 10. Please, useCONTENT_SECURITY_POLICYto pass the CSP.- Since:
- 20.0
- See Also:
-
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTP nonstandardX-Content-Security-Policy-Report-Onlyheader field name. It was introduced in CSP v.1 and used by the Firefox until version 23 and the Internet Explorer version 10. Please, useCONTENT_SECURITY_POLICY_REPORT_ONLYto pass the CSP.- Since:
- 20.0
- See Also:
-
X_WEBKIT_CSP
The HTTP nonstandardX-WebKit-CSPheader field name. It was introduced in CSP v.1 and used by the Chrome until version 25. Please, useCONTENT_SECURITY_POLICYto pass the CSP.- Since:
- 20.0
- See Also:
-
X_WEBKIT_CSP_REPORT_ONLY
The HTTP nonstandardX-WebKit-CSP-Report-Onlyheader field name. It was introduced in CSP v.1 and used by the Chrome until version 25. Please, useCONTENT_SECURITY_POLICY_REPORT_ONLYto pass the CSP.- Since:
- 20.0
- See Also:
-
ETAG
-
EXPIRES
-
LAST_MODIFIED
-
LINK
-
LOCATION
-
P3P
-
PROXY_AUTHENTICATE
The HTTPProxy-Authenticateheader field name.- See Also:
-
REFRESH
The HTTPRefreshheader field name. Non-standard header supported by most browsers.- See Also:
-
RETRY_AFTER
-
SERVER
-
SERVICE_WORKER_ALLOWED
The HTTPService-Worker-Allowedheader field name.- Since:
- 20.0
- See Also:
-
SET_COOKIE
-
SET_COOKIE2
-
STRICT_TRANSPORT_SECURITY
The HTTPStrict-Transport-Securityheader field name.- Since:
- 15.0
- See Also:
-
TIMING_ALLOW_ORIGIN
The HTTPTiming-Allow-Originheader field name.- Since:
- 15.0
- See Also:
-
TRAILER
-
TRANSFER_ENCODING
The HTTPTransfer-Encodingheader field name.- See Also:
-
VARY
-
WWW_AUTHENTICATE
-
DNT
-
X_CONTENT_TYPE_OPTIONS
The HTTPX-Content-Type-Optionsheader field name.- See Also:
-
X_DO_NOT_TRACK
-
X_FORWARDED_FOR
The HTTPX-Forwarded-Forheader field name (supersed byForwarded).- See Also:
-
X_FORWARDED_PROTO
The HTTPX-Forwarded-Protoheader field name.- See Also:
-
X_FORWARDED_HOST
The HTTPX-Forwarded-Hostheader field name.- Since:
- 20.0
- See Also:
-
X_FORWARDED_PORT
The HTTPX-Forwarded-Portheader field name.- Since:
- 20.0
- See Also:
-
X_FRAME_OPTIONS
-
X_POWERED_BY
-
PUBLIC_KEY_PINS
The HTTPPublic-Key-Pinsheader field name.- Since:
- 15.0
- See Also:
-
PUBLIC_KEY_PINS_REPORT_ONLY
The HTTPPublic-Key-Pins-Report-Onlyheader field name.- Since:
- 15.0
- See Also:
-
X_REQUESTED_WITH
-
X_USER_IP
-
X_XSS_PROTECTION
-
PING_FROM
-
PING_TO
-