Package com.google.common.net
Class HttpHeaders
- java.lang.Object
-
- com.google.common.net.HttpHeaders
-
@GwtCompatible public final class HttpHeaders extends Object
Contains constant definitions for the HTTP header field names. See:- Since:
- 11.0
- Author:
- Kurt Alfred Kluever
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpHeaders.ReferrerPolicyValuesValues for theReferrer-Policyheader.
-
Field Summary
Fields Modifier and Type Field Description static StringACCEPTThe HTTPAcceptheader field name.static StringACCEPT_CHThe HTTPAccept-CHheader field name.static StringACCEPT_CHARSETThe HTTPAccept-Charsetheader field name.static StringACCEPT_ENCODINGThe HTTPAccept-Encodingheader field name.static StringACCEPT_LANGUAGEThe HTTPAccept-Languageheader field name.static StringACCEPT_RANGESThe HTTPAccept-Rangesheader field name.static StringACCESS_CONTROL_ALLOW_CREDENTIALSThe HTTPAccess-Control-Allow-Credentialsheader field name.static StringACCESS_CONTROL_ALLOW_HEADERSThe HTTPAccess-Control-Allow-Headersheader field name.static StringACCESS_CONTROL_ALLOW_METHODSThe HTTPAccess-Control-Allow-Methodsheader field name.static StringACCESS_CONTROL_ALLOW_ORIGINThe HTTPAccess-Control-Allow-Originheader field name.static StringACCESS_CONTROL_EXPOSE_HEADERSThe HTTPAccess-Control-Expose-Headersheader field name.static StringACCESS_CONTROL_MAX_AGEThe HTTPAccess-Control-Max-Ageheader field name.static StringACCESS_CONTROL_REQUEST_HEADERSThe HTTPAccess-Control-Request-Headersheader field name.static StringACCESS_CONTROL_REQUEST_METHODThe HTTPAccess-Control-Request-Methodheader field name.static StringAGEThe HTTPAgeheader field name.static StringALLOWThe HTTPAllowheader field name.static StringAUTHORIZATIONThe HTTPAuthorizationheader field name.static StringCACHE_CONTROLThe HTTPCache-Controlheader field name.static StringCDN_LOOPThe HTTPCDN-Loopheader field name.static StringCONNECTIONThe HTTPConnectionheader field name.static StringCONTENT_DISPOSITIONThe HTTPContent-Dispositionheader field name.static StringCONTENT_ENCODINGThe HTTPContent-Encodingheader field name.static StringCONTENT_LANGUAGEThe HTTPContent-Languageheader field name.static StringCONTENT_LENGTHThe HTTPContent-Lengthheader field name.static StringCONTENT_LOCATIONThe HTTPContent-Locationheader field name.static StringCONTENT_MD5The HTTPContent-MD5header field name.static StringCONTENT_RANGEThe HTTPContent-Rangeheader field name.static StringCONTENT_SECURITY_POLICYThe HTTPContent-Security-Policyheader field name.static StringCONTENT_SECURITY_POLICY_REPORT_ONLYThe HTTPContent-Security-Policy-Report-Onlyheader field name.static StringCONTENT_TYPEThe HTTPContent-Typeheader field name.static StringCOOKIEThe HTTPCookieheader field name.static StringCRITICAL_CHThe HTTPCritical-CHheader field name.static StringCROSS_ORIGIN_EMBEDDER_POLICYThe HTTPCross-Origin-Embedder-Policyheader field name.static StringCROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLYThe HTTPCross-Origin-Embedder-Policy-Report-Onlyheader field name.static StringCROSS_ORIGIN_OPENER_POLICYThe HTTP Cross-Origin-Opener-Policy header field name.static StringCROSS_ORIGIN_RESOURCE_POLICYThe HTTPCross-Origin-Resource-Policyheader field name.static StringDATEThe HTTPDateheader field name.static StringDEVICE_MEMORYThe HTTPDevice-Memoryheader field name.static StringDNTThe HTTPDNTheader field name.static StringDOWNLINKThe HTTPDownlinkheader field name.static StringEARLY_DATAThe HTTPEarly-Dataheader field name.static StringECTThe HTTPECTheader field name.static StringETAGThe HTTPETagheader field name.static StringEXPECTThe HTTPExpectheader field name.static StringEXPIRESThe HTTPExpiresheader field name.static StringFOLLOW_ONLY_WHEN_PRERENDER_SHOWNThe HTTPFollow-Only-When-Prerender-Shownheader field name.static StringFORWARDEDThe HTTPForwardedheader field name.static StringFROMThe HTTPFromheader field name.static StringHOSTThe HTTPHostheader field name.static StringHTTP2_SETTINGSThe HTTPHTTP2-Settingsheader field name.static StringIF_MATCHThe HTTPIf-Matchheader field name.static StringIF_MODIFIED_SINCEThe HTTPIf-Modified-Sinceheader field name.static StringIF_NONE_MATCHThe HTTPIf-None-Matchheader field name.static StringIF_RANGEThe HTTPIf-Rangeheader field name.static StringIF_UNMODIFIED_SINCEThe HTTPIf-Unmodified-Sinceheader field name.static StringKEEP_ALIVEThe HTTPKeep-Aliveheader field name.static StringLAST_EVENT_IDThe HTTPLast-Event-IDheader field name.static StringLAST_MODIFIEDThe HTTPLast-Modifiedheader field name.static StringLINKThe HTTPLinkheader field name.static StringLOCATIONThe HTTPLocationheader field name.static StringMAX_FORWARDSThe HTTPMax-Forwardsheader field name.static StringORIGINThe HTTPOriginheader field name.static StringORIGIN_ISOLATIONThe HTTPOrigin-Isolationheader field name.static StringORIGIN_TRIALThe HTTPOrigin-Trialheader field name.static StringP3PThe HTTPP3Pheader field name.static StringPERMISSIONS_POLICYThe HTTPPermissions-Policyheader field name.static StringPING_FROMThe HTTPPing-Fromheader field name.static StringPING_TOThe HTTPPing-Toheader field name.static StringPRAGMAThe HTTPPragmaheader field name.static StringPROXY_AUTHENTICATEThe HTTPProxy-Authenticateheader field name.static StringPROXY_AUTHORIZATIONThe HTTPProxy-Authorizationheader field name.static StringPUBLIC_KEY_PINSThe HTTPPublic-Key-Pinsheader field name.static StringPUBLIC_KEY_PINS_REPORT_ONLYThe HTTPPublic-Key-Pins-Report-Onlyheader field name.static StringPURPOSEThe HTTPPurposeheader field name.static StringRANGEThe HTTPRangeheader field name.static StringREFERERThe HTTPRefererheader field name.static StringREFERRER_POLICYThe HTTPReferrer-Policyheader field name.static StringREFRESHThe HTTPRefreshheader field name.static StringREPORT_TOThe HTTPReport-Toheader field name.static StringRETRY_AFTERThe HTTPRetry-Afterheader field name.static StringRTTThe HTTPRTTheader field name.static StringSAVE_DATAThe HTTPSave-Dataheader field name.static StringSEC_CH_PREFERS_COLOR_SCHEMEThe HTTPSec-CH-Prefers-Color-Schemeheader field name.static StringSEC_CH_UAThe HTTPSec-CH-UAheader field name.static StringSEC_CH_UA_ARCHThe HTTPSec-CH-UA-Archheader field name.static StringSEC_CH_UA_BITNESSThe HTTPSec-CH-UA-Bitnessheader field name.static StringSEC_CH_UA_FULL_VERSIONThe HTTPSec-CH-UA-Full-Versionheader field name.static StringSEC_CH_UA_MOBILEThe HTTPSec-CH-UA-Mobileheader field name.static StringSEC_CH_UA_MODELThe HTTPSec-CH-UA-Modelheader field name.static StringSEC_CH_UA_PLATFORMThe HTTPSec-CH-UA-Platformheader field name.static StringSEC_CH_UA_PLATFORM_VERSIONThe HTTPSec-CH-UA-Platform-Versionheader field name.static StringSEC_FETCH_DESTThe HTTPSec-Fetch-Destheader field name.static StringSEC_FETCH_MODEThe HTTPSec-Fetch-Modeheader field name.static StringSEC_FETCH_SITEThe HTTPSec-Fetch-Siteheader field name.static StringSEC_FETCH_USERThe HTTPSec-Fetch-Userheader field name.static StringSEC_METADATAThe HTTPSec-Metadataheader field name.static StringSEC_PROVIDED_TOKEN_BINDING_IDThe HTTPSec-Provided-Token-Binding-IDheader field name.static StringSEC_REFERRED_TOKEN_BINDING_IDThe HTTPSec-Referred-Token-Binding-IDheader field name.static StringSEC_TOKEN_BINDINGThe HTTPSec-Token-Bindingheader field name.static StringSEC_WEBSOCKET_ACCEPTThe HTTPSec-WebSocket-Acceptheader field name.static StringSEC_WEBSOCKET_EXTENSIONSThe HTTPSec-WebSocket-Extensionsheader field name.static StringSEC_WEBSOCKET_KEYThe HTTPSec-WebSocket-Keyheader field name.static StringSEC_WEBSOCKET_PROTOCOLThe HTTPSec-WebSocket-Protocolheader field name.static StringSEC_WEBSOCKET_VERSIONThe HTTPSec-WebSocket-Versionheader field name.static StringSERVERThe HTTPServerheader field name.static StringSERVER_TIMINGThe HTTPServer-Timingheader field name.static StringSERVICE_WORKERThe HTTPService-Workerheader field name.static StringSERVICE_WORKER_ALLOWEDThe HTTPService-Worker-Allowedheader field name.static StringSET_COOKIEThe HTTPSet-Cookieheader field name.static StringSET_COOKIE2The HTTPSet-Cookie2header field name.static StringSOURCE_MAPThe HTTPSourceMapheader field name.static StringSTRICT_TRANSPORT_SECURITYThe HTTPStrict-Transport-Securityheader field name.static StringTEThe HTTPTEheader field name.static StringTIMING_ALLOW_ORIGINThe HTTPTiming-Allow-Originheader field name.static StringTRAILERThe HTTPTrailerheader field name.static StringTRANSFER_ENCODINGThe HTTPTransfer-Encodingheader field name.static StringUPGRADEThe HTTPUpgradeheader field name.static StringUPGRADE_INSECURE_REQUESTSThe HTTPUpgrade-Insecure-Requestsheader field name.static StringUSER_AGENTThe HTTPUser-Agentheader field name.static StringVARYThe HTTPVaryheader field name.static StringVIAThe HTTPViaheader field name.static StringVIEWPORT_WIDTHThe HTTPViewport-Widthheader field name.static StringWARNINGThe HTTPWarningheader field name.static StringWIDTHThe HTTPWidthheader field name.static StringWWW_AUTHENTICATEThe HTTPWWW-Authenticateheader field name.static StringX_CONTENT_SECURITY_POLICYThe HTTP nonstandardX-Content-Security-Policyheader field name.static StringX_CONTENT_SECURITY_POLICY_REPORT_ONLYThe HTTP nonstandardX-Content-Security-Policy-Report-Onlyheader field name.static StringX_CONTENT_TYPE_OPTIONSThe HTTPX-Content-Type-Optionsheader field name.static StringX_DEVICE_ACCEPT_LANGUAGEThe HTTPX-Device-Accept-Languageheader field name.static StringX_DEVICE_IPThe HTTPX-Device-IPheader field name.static StringX_DEVICE_REFERERThe HTTPX-Device-Refererheader field name.static StringX_DEVICE_REQUESTED_WITHThe HTTPX-Device-Requested-Withheader field name.static StringX_DNS_PREFETCH_CONTROLThe HTTPX-DNS-Prefetch-Controlheader controls DNS prefetch behavior.static StringX_DO_NOT_TRACKThe HTTPX-Do-Not-Trackheader field name.static StringX_DOWNLOAD_OPTIONSThe HTTPX-Download-Optionsheader field name.static StringX_FORWARDED_FORThe HTTPX-Forwarded-Forheader field name (superseded byForwarded).static StringX_FORWARDED_HOSTThe HTTPX-Forwarded-Hostheader field name.static StringX_FORWARDED_PORTThe HTTPX-Forwarded-Portheader field name.static StringX_FORWARDED_PROTOThe HTTPX-Forwarded-Protoheader field name.static StringX_FRAME_OPTIONSThe HTTPX-Frame-Optionsheader field name.static StringX_MOZThe HTTPX-Mozheader field name.static StringX_POWERED_BYThe HTTPX-Powered-Byheader field name.static StringX_PURPOSEThe HTTPX-Purposeheader field name.static StringX_REQUEST_IDThe HTTPX-Request-IDheader field name.static StringX_REQUESTED_WITHThe HTTPX-Requested-Withheader field name.static StringX_USER_IPThe HTTPX-User-IPheader field name.static StringX_WEBKIT_CSPThe HTTP nonstandardX-WebKit-CSPheader field name.static StringX_WEBKIT_CSP_REPORT_ONLYThe HTTP nonstandardX-WebKit-CSP-Report-Onlyheader field name.static StringX_XSS_PROTECTIONThe HTTPX-XSS-Protectionheader field name.
-
-
-
Field Detail
-
CACHE_CONTROL
public static final String CACHE_CONTROL
The HTTPCache-Controlheader field name.- See Also:
- Constant Field Values
-
CONTENT_LENGTH
public static final String CONTENT_LENGTH
The HTTPContent-Lengthheader field name.- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
The HTTPContent-Typeheader field name.- See Also:
- Constant Field Values
-
DATE
public static final String DATE
The HTTPDateheader field name.- See Also:
- Constant Field Values
-
PRAGMA
public static final String PRAGMA
The HTTPPragmaheader field name.- See Also:
- Constant Field Values
-
VIA
public static final String VIA
The HTTPViaheader field name.- See Also:
- Constant Field Values
-
WARNING
public static final String WARNING
The HTTPWarningheader field name.- See Also:
- Constant Field Values
-
ACCEPT
public static final String ACCEPT
The HTTPAcceptheader field name.- See Also:
- Constant Field Values
-
ACCEPT_CHARSET
public static final String ACCEPT_CHARSET
The HTTPAccept-Charsetheader field name.- See Also:
- Constant Field Values
-
ACCEPT_ENCODING
public static final String ACCEPT_ENCODING
The HTTPAccept-Encodingheader field name.- See Also:
- Constant Field Values
-
ACCEPT_LANGUAGE
public static final String ACCEPT_LANGUAGE
The HTTPAccept-Languageheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_HEADERS
public static final String ACCESS_CONTROL_REQUEST_HEADERS
The HTTPAccess-Control-Request-Headersheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_METHOD
public static final String ACCESS_CONTROL_REQUEST_METHOD
The HTTPAccess-Control-Request-Methodheader field name.- See Also:
- Constant Field Values
-
AUTHORIZATION
public static final String AUTHORIZATION
The HTTPAuthorizationheader field name.- See Also:
- Constant Field Values
-
CONNECTION
public static final String CONNECTION
The HTTPConnectionheader field name.- See Also:
- Constant Field Values
-
COOKIE
public static final String COOKIE
The HTTPCookieheader field name.- See Also:
- Constant Field Values
-
CROSS_ORIGIN_RESOURCE_POLICY
public static final String CROSS_ORIGIN_RESOURCE_POLICY
The HTTPCross-Origin-Resource-Policyheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
EARLY_DATA
public static final String EARLY_DATA
The HTTPEarly-Dataheader field name.- Since:
- 27.0
- See Also:
- Constant Field Values
-
EXPECT
public static final String EXPECT
The HTTPExpectheader field name.- See Also:
- Constant Field Values
-
FROM
public static final String FROM
The HTTPFromheader field name.- See Also:
- Constant Field Values
-
FORWARDED
public static final String FORWARDED
The HTTPForwardedheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
@Beta public static final String FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
The HTTPFollow-Only-When-Prerender-Shownheader field name.- Since:
- 17.0
- See Also:
- Constant Field Values
-
HOST
public static final String HOST
The HTTPHostheader field name.- See Also:
- Constant Field Values
-
HTTP2_SETTINGS
public static final String HTTP2_SETTINGS
The HTTPHTTP2-Settingsheader field name.- Since:
- 24.0
- See Also:
- Constant Field Values
-
IF_MATCH
public static final String IF_MATCH
The HTTPIf-Matchheader field name.- See Also:
- Constant Field Values
-
IF_MODIFIED_SINCE
public static final String IF_MODIFIED_SINCE
The HTTPIf-Modified-Sinceheader field name.- See Also:
- Constant Field Values
-
IF_NONE_MATCH
public static final String IF_NONE_MATCH
The HTTPIf-None-Matchheader field name.- See Also:
- Constant Field Values
-
IF_RANGE
public static final String IF_RANGE
The HTTPIf-Rangeheader field name.- See Also:
- Constant Field Values
-
IF_UNMODIFIED_SINCE
public static final String IF_UNMODIFIED_SINCE
The HTTPIf-Unmodified-Sinceheader field name.- See Also:
- Constant Field Values
-
LAST_EVENT_ID
public static final String LAST_EVENT_ID
The HTTPLast-Event-IDheader field name.- See Also:
- Constant Field Values
-
MAX_FORWARDS
public static final String MAX_FORWARDS
The HTTPMax-Forwardsheader field name.- See Also:
- Constant Field Values
-
ORIGIN
public static final String ORIGIN
The HTTPOriginheader field name.- See Also:
- Constant Field Values
-
ORIGIN_ISOLATION
public static final String ORIGIN_ISOLATION
The HTTPOrigin-Isolationheader field name.- Since:
- 30.1
- See Also:
- Constant Field Values
-
PROXY_AUTHORIZATION
public static final String PROXY_AUTHORIZATION
The HTTPProxy-Authorizationheader field name.- See Also:
- Constant Field Values
-
RANGE
public static final String RANGE
The HTTPRangeheader field name.- See Also:
- Constant Field Values
-
REFERER
public static final String REFERER
The HTTPRefererheader field name.- See Also:
- Constant Field Values
-
REFERRER_POLICY
public static final String REFERRER_POLICY
The HTTPReferrer-Policyheader field name.- Since:
- 23.4
- See Also:
- Constant Field Values
-
SERVICE_WORKER
public static final String SERVICE_WORKER
The HTTPService-Workerheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
TE
public static final String TE
The HTTPTEheader field name.- See Also:
- Constant Field Values
-
UPGRADE
public static final String UPGRADE
The HTTPUpgradeheader field name.- See Also:
- Constant Field Values
-
UPGRADE_INSECURE_REQUESTS
public static final String UPGRADE_INSECURE_REQUESTS
The HTTPUpgrade-Insecure-Requestsheader field name.- Since:
- 28.1
- See Also:
- Constant Field Values
-
USER_AGENT
public static final String USER_AGENT
The HTTPUser-Agentheader field name.- See Also:
- Constant Field Values
-
ACCEPT_RANGES
public static final String ACCEPT_RANGES
The HTTPAccept-Rangesheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_HEADERS
public static final String ACCESS_CONTROL_ALLOW_HEADERS
The HTTPAccess-Control-Allow-Headersheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_METHODS
public static final String ACCESS_CONTROL_ALLOW_METHODS
The HTTPAccess-Control-Allow-Methodsheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_ORIGIN
public static final String ACCESS_CONTROL_ALLOW_ORIGIN
The HTTPAccess-Control-Allow-Originheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTPAccess-Control-Allow-Credentialsheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_EXPOSE_HEADERS
public static final String ACCESS_CONTROL_EXPOSE_HEADERS
The HTTPAccess-Control-Expose-Headersheader field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_MAX_AGE
public static final String ACCESS_CONTROL_MAX_AGE
The HTTPAccess-Control-Max-Ageheader field name.- See Also:
- Constant Field Values
-
AGE
public static final String AGE
The HTTPAgeheader field name.- See Also:
- Constant Field Values
-
ALLOW
public static final String ALLOW
The HTTPAllowheader field name.- See Also:
- Constant Field Values
-
CONTENT_DISPOSITION
public static final String CONTENT_DISPOSITION
The HTTPContent-Dispositionheader field name.- See Also:
- Constant Field Values
-
CONTENT_ENCODING
public static final String CONTENT_ENCODING
The HTTPContent-Encodingheader field name.- See Also:
- Constant Field Values
-
CONTENT_LANGUAGE
public static final String CONTENT_LANGUAGE
The HTTPContent-Languageheader field name.- See Also:
- Constant Field Values
-
CONTENT_LOCATION
public static final String CONTENT_LOCATION
The HTTPContent-Locationheader field name.- See Also:
- Constant Field Values
-
CONTENT_MD5
public static final String CONTENT_MD5
The HTTPContent-MD5header field name.- See Also:
- Constant Field Values
-
CONTENT_RANGE
public static final String CONTENT_RANGE
The HTTPContent-Rangeheader field name.- See Also:
- Constant Field Values
-
CONTENT_SECURITY_POLICY
public static final String CONTENT_SECURITY_POLICY
The HTTPContent-Security-Policyheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
CONTENT_SECURITY_POLICY_REPORT_ONLY
public static final String CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTPContent-Security-Policy-Report-Onlyheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
X_CONTENT_SECURITY_POLICY
public static final String 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:
- Constant Field Values
-
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
public static final String 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:
- Constant Field Values
-
X_WEBKIT_CSP
public static final String 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:
- Constant Field Values
-
X_WEBKIT_CSP_REPORT_ONLY
public static final String 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:
- Constant Field Values
-
CROSS_ORIGIN_EMBEDDER_POLICY
public static final String CROSS_ORIGIN_EMBEDDER_POLICY
The HTTPCross-Origin-Embedder-Policyheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY
public static final String CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY
The HTTPCross-Origin-Embedder-Policy-Report-Onlyheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
CROSS_ORIGIN_OPENER_POLICY
public static final String CROSS_ORIGIN_OPENER_POLICY
The HTTP Cross-Origin-Opener-Policy header field name.- Since:
- 28.2
- See Also:
- Constant Field Values
-
ETAG
public static final String ETAG
The HTTPETagheader field name.- See Also:
- Constant Field Values
-
EXPIRES
public static final String EXPIRES
The HTTPExpiresheader field name.- See Also:
- Constant Field Values
-
LAST_MODIFIED
public static final String LAST_MODIFIED
The HTTPLast-Modifiedheader field name.- See Also:
- Constant Field Values
-
LINK
public static final String LINK
The HTTPLinkheader field name.- See Also:
- Constant Field Values
-
LOCATION
public static final String LOCATION
The HTTPLocationheader field name.- See Also:
- Constant Field Values
-
KEEP_ALIVE
public static final String KEEP_ALIVE
The HTTPKeep-Aliveheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
ORIGIN_TRIAL
public static final String ORIGIN_TRIAL
The HTTPOrigin-Trialheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
P3P
public static final String P3P
The HTTPP3Pheader field name. Limited browser support.- See Also:
- Constant Field Values
-
PROXY_AUTHENTICATE
public static final String PROXY_AUTHENTICATE
The HTTPProxy-Authenticateheader field name.- See Also:
- Constant Field Values
-
REFRESH
public static final String REFRESH
The HTTPRefreshheader field name. Non-standard header supported by most browsers.- See Also:
- Constant Field Values
-
REPORT_TO
public static final String REPORT_TO
The HTTPReport-Toheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
RETRY_AFTER
public static final String RETRY_AFTER
The HTTPRetry-Afterheader field name.- See Also:
- Constant Field Values
-
SERVER
public static final String SERVER
The HTTPServerheader field name.- See Also:
- Constant Field Values
-
SERVER_TIMING
public static final String SERVER_TIMING
The HTTPServer-Timingheader field name.- Since:
- 23.6
- See Also:
- Constant Field Values
-
SERVICE_WORKER_ALLOWED
public static final String SERVICE_WORKER_ALLOWED
The HTTPService-Worker-Allowedheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
SET_COOKIE
public static final String SET_COOKIE
The HTTPSet-Cookieheader field name.- See Also:
- Constant Field Values
-
SET_COOKIE2
public static final String SET_COOKIE2
The HTTPSet-Cookie2header field name.- See Also:
- Constant Field Values
-
SOURCE_MAP
@Beta public static final String SOURCE_MAP
The HTTPSourceMapheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
STRICT_TRANSPORT_SECURITY
public static final String STRICT_TRANSPORT_SECURITY
The HTTPStrict-Transport-Securityheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
TIMING_ALLOW_ORIGIN
public static final String TIMING_ALLOW_ORIGIN
The HTTPTiming-Allow-Originheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
TRAILER
public static final String TRAILER
The HTTPTrailerheader field name.- See Also:
- Constant Field Values
-
TRANSFER_ENCODING
public static final String TRANSFER_ENCODING
The HTTPTransfer-Encodingheader field name.- See Also:
- Constant Field Values
-
VARY
public static final String VARY
The HTTPVaryheader field name.- See Also:
- Constant Field Values
-
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
The HTTPWWW-Authenticateheader field name.- See Also:
- Constant Field Values
-
DNT
public static final String DNT
The HTTPDNTheader field name.- See Also:
- Constant Field Values
-
X_CONTENT_TYPE_OPTIONS
public static final String X_CONTENT_TYPE_OPTIONS
The HTTPX-Content-Type-Optionsheader field name.- See Also:
- Constant Field Values
-
X_DEVICE_IP
public static final String X_DEVICE_IP
The HTTPX-Device-IPheader field name. Header used for VAST requests to provide the IP address of the device on whose behalf the request is being made.- Since:
- 31.0
- See Also:
- Constant Field Values
-
X_DEVICE_REFERER
public static final String X_DEVICE_REFERER
The HTTPX-Device-Refererheader field name. Header used for VAST requests to provide theREFERERheader value that the on-behalf-of client would have used when making a request itself.- Since:
- 31.0
- See Also:
- Constant Field Values
-
X_DEVICE_ACCEPT_LANGUAGE
public static final String X_DEVICE_ACCEPT_LANGUAGE
The HTTPX-Device-Accept-Languageheader field name. Header used for VAST requests to provide theACCEPT_LANGUAGEheader value that the on-behalf-of client would have used when making a request itself.- Since:
- 31.0
- See Also:
- Constant Field Values
-
X_DEVICE_REQUESTED_WITH
public static final String X_DEVICE_REQUESTED_WITH
The HTTPX-Device-Requested-Withheader field name. Header used for VAST requests to provide theX_REQUESTED_WITHheader value that the on-behalf-of client would have used when making a request itself.- Since:
- 31.0
- See Also:
- Constant Field Values
-
X_DO_NOT_TRACK
public static final String X_DO_NOT_TRACK
The HTTPX-Do-Not-Trackheader field name.- See Also:
- Constant Field Values
-
X_FORWARDED_FOR
public static final String X_FORWARDED_FOR
The HTTPX-Forwarded-Forheader field name (superseded byForwarded).- See Also:
- Constant Field Values
-
X_FORWARDED_PROTO
public static final String X_FORWARDED_PROTO
The HTTPX-Forwarded-Protoheader field name.- See Also:
- Constant Field Values
-
X_FORWARDED_HOST
public static final String X_FORWARDED_HOST
The HTTPX-Forwarded-Hostheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
X_FORWARDED_PORT
public static final String X_FORWARDED_PORT
The HTTPX-Forwarded-Portheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
X_FRAME_OPTIONS
public static final String X_FRAME_OPTIONS
The HTTPX-Frame-Optionsheader field name.- See Also:
- Constant Field Values
-
X_POWERED_BY
public static final String X_POWERED_BY
The HTTPX-Powered-Byheader field name.- See Also:
- Constant Field Values
-
PUBLIC_KEY_PINS
@Beta public static final String PUBLIC_KEY_PINS
The HTTPPublic-Key-Pinsheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
PUBLIC_KEY_PINS_REPORT_ONLY
@Beta public static final String PUBLIC_KEY_PINS_REPORT_ONLY
The HTTPPublic-Key-Pins-Report-Onlyheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
X_REQUEST_ID
public static final String X_REQUEST_ID
The HTTPX-Request-IDheader field name.- Since:
- 30.1
- See Also:
- Constant Field Values
-
X_REQUESTED_WITH
public static final String X_REQUESTED_WITH
The HTTPX-Requested-Withheader field name.- See Also:
- Constant Field Values
-
X_USER_IP
public static final String X_USER_IP
The HTTPX-User-IPheader field name.- See Also:
- Constant Field Values
-
X_DOWNLOAD_OPTIONS
@Beta public static final String X_DOWNLOAD_OPTIONS
The HTTPX-Download-Optionsheader field name.When the new X-Download-Options header is present with the value
noopen, the user is prevented from opening a file download directly; instead, they must first save the file locally.- Since:
- 24.1
- See Also:
- Constant Field Values
-
X_XSS_PROTECTION
public static final String X_XSS_PROTECTION
The HTTPX-XSS-Protectionheader field name.- See Also:
- Constant Field Values
-
X_DNS_PREFETCH_CONTROL
public static final String X_DNS_PREFETCH_CONTROL
The HTTPX-DNS-Prefetch-Controlheader controls DNS prefetch behavior. Value can be "on" or "off". By default, DNS prefetching is "on" for HTTP pages and "off" for HTTPS pages.- See Also:
- Constant Field Values
-
PING_FROM
public static final String PING_FROM
The HTTPPing-Fromheader field name.- Since:
- 19.0
- See Also:
- Constant Field Values
-
PING_TO
public static final String PING_TO
The HTTPPing-Toheader field name.- Since:
- 19.0
- See Also:
- Constant Field Values
-
PURPOSE
public static final String PURPOSE
The HTTPPurposeheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
X_PURPOSE
public static final String X_PURPOSE
The HTTPX-Purposeheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
X_MOZ
public static final String X_MOZ
The HTTPX-Mozheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
DEVICE_MEMORY
public static final String DEVICE_MEMORY
The HTTPDevice-Memoryheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
DOWNLINK
public static final String DOWNLINK
The HTTPDownlinkheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
ECT
public static final String ECT
The HTTPECTheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
RTT
public static final String RTT
The HTTPRTTheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
SAVE_DATA
public static final String SAVE_DATA
The HTTPSave-Dataheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
VIEWPORT_WIDTH
public static final String VIEWPORT_WIDTH
The HTTPViewport-Widthheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
WIDTH
public static final String WIDTH
The HTTPWidthheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
PERMISSIONS_POLICY
public static final String PERMISSIONS_POLICY
The HTTPPermissions-Policyheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
SEC_CH_PREFERS_COLOR_SCHEME
public static final String SEC_CH_PREFERS_COLOR_SCHEME
The HTTPSec-CH-Prefers-Color-Schemeheader field name.This header is experimental.
- Since:
- 31.0
- See Also:
- Constant Field Values
-
ACCEPT_CH
public static final String ACCEPT_CH
The HTTPAccept-CHheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
CRITICAL_CH
public static final String CRITICAL_CH
The HTTPCritical-CHheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
SEC_CH_UA
public static final String SEC_CH_UA
The HTTPSec-CH-UAheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_ARCH
public static final String SEC_CH_UA_ARCH
The HTTPSec-CH-UA-Archheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_MODEL
public static final String SEC_CH_UA_MODEL
The HTTPSec-CH-UA-Modelheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_PLATFORM
public static final String SEC_CH_UA_PLATFORM
The HTTPSec-CH-UA-Platformheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_PLATFORM_VERSION
public static final String SEC_CH_UA_PLATFORM_VERSION
The HTTPSec-CH-UA-Platform-Versionheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_FULL_VERSION
public static final String SEC_CH_UA_FULL_VERSION
The HTTPSec-CH-UA-Full-Versionheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_MOBILE
public static final String SEC_CH_UA_MOBILE
The HTTPSec-CH-UA-Mobileheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_CH_UA_BITNESS
public static final String SEC_CH_UA_BITNESS
The HTTPSec-CH-UA-Bitnessheader field name.- Since:
- 31.0
- See Also:
- Constant Field Values
-
SEC_FETCH_DEST
public static final String SEC_FETCH_DEST
The HTTPSec-Fetch-Destheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_MODE
public static final String SEC_FETCH_MODE
The HTTPSec-Fetch-Modeheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_SITE
public static final String SEC_FETCH_SITE
The HTTPSec-Fetch-Siteheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_USER
public static final String SEC_FETCH_USER
The HTTPSec-Fetch-Userheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_METADATA
public static final String SEC_METADATA
The HTTPSec-Metadataheader field name.- Since:
- 26.0
- See Also:
- Constant Field Values
-
SEC_TOKEN_BINDING
public static final String SEC_TOKEN_BINDING
The HTTPSec-Token-Bindingheader field name.- Since:
- 25.1
- See Also:
- Constant Field Values
-
SEC_PROVIDED_TOKEN_BINDING_ID
public static final String SEC_PROVIDED_TOKEN_BINDING_ID
The HTTPSec-Provided-Token-Binding-IDheader field name.- Since:
- 25.1
- See Also:
- Constant Field Values
-
SEC_REFERRED_TOKEN_BINDING_ID
public static final String SEC_REFERRED_TOKEN_BINDING_ID
The HTTPSec-Referred-Token-Binding-IDheader field name.- Since:
- 25.1
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_ACCEPT
public static final String SEC_WEBSOCKET_ACCEPT
The HTTPSec-WebSocket-Acceptheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_EXTENSIONS
public static final String SEC_WEBSOCKET_EXTENSIONS
The HTTPSec-WebSocket-Extensionsheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_KEY
public static final String SEC_WEBSOCKET_KEY
The HTTPSec-WebSocket-Keyheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_PROTOCOL
public static final String SEC_WEBSOCKET_PROTOCOL
The HTTPSec-WebSocket-Protocolheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_VERSION
public static final String SEC_WEBSOCKET_VERSION
The HTTPSec-WebSocket-Versionheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
CDN_LOOP
public static final String CDN_LOOP
The HTTPCDN-Loopheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
-