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 SummaryNested Classes Modifier and Type Class Description static classHttpHeaders.ReferrerPolicyValuesValues for theReferrer-Policyheader.
 - 
Field SummaryFields Modifier and Type Field Description static StringACCEPTThe HTTPAcceptheader 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 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 StringDNTThe HTTPDNTheader field name.static StringEARLY_DATAThe HTTPEarly-Dataheader 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 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 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 StringSEC_CH_UAThe HTTPSec-CH-UAheader field name.static StringSEC_CH_UA_ARCHThe HTTPSec-CH-UA-Archheader 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 StringWARNINGThe HTTPWarningheader 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_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_CONTROLpublic static final String CACHE_CONTROL The HTTPCache-Controlheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_LENGTHpublic static final String CONTENT_LENGTH The HTTPContent-Lengthheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_TYPEpublic static final String CONTENT_TYPE The HTTPContent-Typeheader field name.- See Also:
- Constant Field Values
 
 - 
DATEpublic static final String DATE The HTTPDateheader field name.- See Also:
- Constant Field Values
 
 - 
PRAGMApublic static final String PRAGMA The HTTPPragmaheader field name.- See Also:
- Constant Field Values
 
 - 
VIApublic static final String VIA The HTTPViaheader field name.- See Also:
- Constant Field Values
 
 - 
WARNINGpublic static final String WARNING The HTTPWarningheader field name.- See Also:
- Constant Field Values
 
 - 
ACCEPTpublic static final String ACCEPT The HTTPAcceptheader field name.- See Also:
- Constant Field Values
 
 - 
ACCEPT_CHARSETpublic static final String ACCEPT_CHARSET The HTTPAccept-Charsetheader field name.- See Also:
- Constant Field Values
 
 - 
ACCEPT_ENCODINGpublic static final String ACCEPT_ENCODING The HTTPAccept-Encodingheader field name.- See Also:
- Constant Field Values
 
 - 
ACCEPT_LANGUAGEpublic static final String ACCEPT_LANGUAGE The HTTPAccept-Languageheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_REQUEST_HEADERSpublic static final String ACCESS_CONTROL_REQUEST_HEADERS The HTTPAccess-Control-Request-Headersheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_REQUEST_METHODpublic static final String ACCESS_CONTROL_REQUEST_METHOD The HTTPAccess-Control-Request-Methodheader field name.- See Also:
- Constant Field Values
 
 - 
AUTHORIZATIONpublic static final String AUTHORIZATION The HTTPAuthorizationheader field name.- See Also:
- Constant Field Values
 
 - 
CONNECTIONpublic static final String CONNECTION The HTTPConnectionheader field name.- See Also:
- Constant Field Values
 
 - 
COOKIEpublic static final String COOKIE The HTTPCookieheader field name.- See Also:
- Constant Field Values
 
 - 
CROSS_ORIGIN_RESOURCE_POLICYpublic static final String CROSS_ORIGIN_RESOURCE_POLICY The HTTPCross-Origin-Resource-Policyheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
EARLY_DATApublic static final String EARLY_DATA The HTTPEarly-Dataheader field name.- Since:
- 27.0
- See Also:
- Constant Field Values
 
 - 
EXPECTpublic static final String EXPECT The HTTPExpectheader field name.- See Also:
- Constant Field Values
 
 - 
FROMpublic static final String FROM The HTTPFromheader field name.- See Also:
- Constant Field Values
 
 - 
FORWARDEDpublic 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
 
 - 
HOSTpublic static final String HOST The HTTPHostheader field name.- See Also:
- Constant Field Values
 
 - 
HTTP2_SETTINGSpublic static final String HTTP2_SETTINGS The HTTPHTTP2-Settingsheader field name.- Since:
- 24.0
- See Also:
- Constant Field Values
 
 - 
IF_MATCHpublic static final String IF_MATCH The HTTPIf-Matchheader field name.- See Also:
- Constant Field Values
 
 - 
IF_MODIFIED_SINCEpublic static final String IF_MODIFIED_SINCE The HTTPIf-Modified-Sinceheader field name.- See Also:
- Constant Field Values
 
 - 
IF_NONE_MATCHpublic static final String IF_NONE_MATCH The HTTPIf-None-Matchheader field name.- See Also:
- Constant Field Values
 
 - 
IF_RANGEpublic static final String IF_RANGE The HTTPIf-Rangeheader field name.- See Also:
- Constant Field Values
 
 - 
IF_UNMODIFIED_SINCEpublic static final String IF_UNMODIFIED_SINCE The HTTPIf-Unmodified-Sinceheader field name.- See Also:
- Constant Field Values
 
 - 
LAST_EVENT_IDpublic static final String LAST_EVENT_ID The HTTPLast-Event-IDheader field name.- See Also:
- Constant Field Values
 
 - 
MAX_FORWARDSpublic static final String MAX_FORWARDS The HTTPMax-Forwardsheader field name.- See Also:
- Constant Field Values
 
 - 
ORIGINpublic static final String ORIGIN The HTTPOriginheader field name.- See Also:
- Constant Field Values
 
 - 
ORIGIN_ISOLATIONpublic static final String ORIGIN_ISOLATION The HTTPOrigin-Isolationheader field name.- Since:
- 30.1
- See Also:
- Constant Field Values
 
 - 
PROXY_AUTHORIZATIONpublic static final String PROXY_AUTHORIZATION The HTTPProxy-Authorizationheader field name.- See Also:
- Constant Field Values
 
 - 
RANGEpublic static final String RANGE The HTTPRangeheader field name.- See Also:
- Constant Field Values
 
 - 
REFERERpublic static final String REFERER The HTTPRefererheader field name.- See Also:
- Constant Field Values
 
 - 
REFERRER_POLICYpublic static final String REFERRER_POLICY The HTTPReferrer-Policyheader field name.- Since:
- 23.4
- See Also:
- Constant Field Values
 
 - 
SERVICE_WORKERpublic static final String SERVICE_WORKER The HTTPService-Workerheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
 
 - 
TEpublic static final String TE The HTTPTEheader field name.- See Also:
- Constant Field Values
 
 - 
UPGRADEpublic static final String UPGRADE The HTTPUpgradeheader field name.- See Also:
- Constant Field Values
 
 - 
UPGRADE_INSECURE_REQUESTSpublic static final String UPGRADE_INSECURE_REQUESTS The HTTPUpgrade-Insecure-Requestsheader field name.- Since:
- 28.1
- See Also:
- Constant Field Values
 
 - 
USER_AGENTpublic static final String USER_AGENT The HTTPUser-Agentheader field name.- See Also:
- Constant Field Values
 
 - 
ACCEPT_RANGESpublic static final String ACCEPT_RANGES The HTTPAccept-Rangesheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_ALLOW_HEADERSpublic static final String ACCESS_CONTROL_ALLOW_HEADERS The HTTPAccess-Control-Allow-Headersheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_ALLOW_METHODSpublic static final String ACCESS_CONTROL_ALLOW_METHODS The HTTPAccess-Control-Allow-Methodsheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_ALLOW_ORIGINpublic static final String ACCESS_CONTROL_ALLOW_ORIGIN The HTTPAccess-Control-Allow-Originheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_ALLOW_CREDENTIALSpublic static final String ACCESS_CONTROL_ALLOW_CREDENTIALS The HTTPAccess-Control-Allow-Credentialsheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_EXPOSE_HEADERSpublic static final String ACCESS_CONTROL_EXPOSE_HEADERS The HTTPAccess-Control-Expose-Headersheader field name.- See Also:
- Constant Field Values
 
 - 
ACCESS_CONTROL_MAX_AGEpublic static final String ACCESS_CONTROL_MAX_AGE The HTTPAccess-Control-Max-Ageheader field name.- See Also:
- Constant Field Values
 
 - 
AGEpublic static final String AGE The HTTPAgeheader field name.- See Also:
- Constant Field Values
 
 - 
ALLOWpublic static final String ALLOW The HTTPAllowheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_DISPOSITIONpublic static final String CONTENT_DISPOSITION The HTTPContent-Dispositionheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_ENCODINGpublic static final String CONTENT_ENCODING The HTTPContent-Encodingheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_LANGUAGEpublic static final String CONTENT_LANGUAGE The HTTPContent-Languageheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_LOCATIONpublic static final String CONTENT_LOCATION The HTTPContent-Locationheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_MD5public static final String CONTENT_MD5 The HTTPContent-MD5header field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_RANGEpublic static final String CONTENT_RANGE The HTTPContent-Rangeheader field name.- See Also:
- Constant Field Values
 
 - 
CONTENT_SECURITY_POLICYpublic static final String CONTENT_SECURITY_POLICY The HTTPContent-Security-Policyheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
 
 - 
CONTENT_SECURITY_POLICY_REPORT_ONLYpublic 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_POLICYpublic 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_ONLYpublic 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_CSPpublic 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_ONLYpublic 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_POLICYpublic 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_ONLYpublic 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_POLICYpublic static final String CROSS_ORIGIN_OPENER_POLICY The HTTP Cross-Origin-Opener-Policy header field name.- Since:
- 28.2
- See Also:
- Constant Field Values
 
 - 
ETAGpublic static final String ETAG The HTTPETagheader field name.- See Also:
- Constant Field Values
 
 - 
EXPIRESpublic static final String EXPIRES The HTTPExpiresheader field name.- See Also:
- Constant Field Values
 
 - 
LAST_MODIFIEDpublic static final String LAST_MODIFIED The HTTPLast-Modifiedheader field name.- See Also:
- Constant Field Values
 
 - 
LINKpublic static final String LINK The HTTPLinkheader field name.- See Also:
- Constant Field Values
 
 - 
LOCATIONpublic static final String LOCATION The HTTPLocationheader field name.- See Also:
- Constant Field Values
 
 - 
ORIGIN_TRIALpublic static final String ORIGIN_TRIAL The HTTPOrigin-Trialheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
P3Ppublic static final String P3P The HTTPP3Pheader field name. Limited browser support.- See Also:
- Constant Field Values
 
 - 
PROXY_AUTHENTICATEpublic static final String PROXY_AUTHENTICATE The HTTPProxy-Authenticateheader field name.- See Also:
- Constant Field Values
 
 - 
REFRESHpublic static final String REFRESH The HTTPRefreshheader field name. Non-standard header supported by most browsers.- See Also:
- Constant Field Values
 
 - 
REPORT_TOpublic static final String REPORT_TO The HTTPReport-Toheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
RETRY_AFTERpublic static final String RETRY_AFTER The HTTPRetry-Afterheader field name.- See Also:
- Constant Field Values
 
 - 
SERVERpublic static final String SERVER The HTTPServerheader field name.- See Also:
- Constant Field Values
 
 - 
SERVER_TIMINGpublic static final String SERVER_TIMING The HTTPServer-Timingheader field name.- Since:
- 23.6
- See Also:
- Constant Field Values
 
 - 
SERVICE_WORKER_ALLOWEDpublic static final String SERVICE_WORKER_ALLOWED The HTTPService-Worker-Allowedheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
 
 - 
SET_COOKIEpublic static final String SET_COOKIE The HTTPSet-Cookieheader field name.- See Also:
- Constant Field Values
 
 - 
SET_COOKIE2public 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_SECURITYpublic static final String STRICT_TRANSPORT_SECURITY The HTTPStrict-Transport-Securityheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
 
 - 
TIMING_ALLOW_ORIGINpublic static final String TIMING_ALLOW_ORIGIN The HTTPTiming-Allow-Originheader field name.- Since:
- 15.0
- See Also:
- Constant Field Values
 
 - 
TRAILERpublic static final String TRAILER The HTTPTrailerheader field name.- See Also:
- Constant Field Values
 
 - 
TRANSFER_ENCODINGpublic static final String TRANSFER_ENCODING The HTTPTransfer-Encodingheader field name.- See Also:
- Constant Field Values
 
 - 
VARYpublic static final String VARY The HTTPVaryheader field name.- See Also:
- Constant Field Values
 
 - 
WWW_AUTHENTICATEpublic static final String WWW_AUTHENTICATE The HTTPWWW-Authenticateheader field name.- See Also:
- Constant Field Values
 
 - 
DNTpublic static final String DNT The HTTPDNTheader field name.- See Also:
- Constant Field Values
 
 - 
X_CONTENT_TYPE_OPTIONSpublic static final String X_CONTENT_TYPE_OPTIONS The HTTPX-Content-Type-Optionsheader field name.- See Also:
- Constant Field Values
 
 - 
X_DO_NOT_TRACKpublic static final String X_DO_NOT_TRACK The HTTPX-Do-Not-Trackheader field name.- See Also:
- Constant Field Values
 
 - 
X_FORWARDED_FORpublic static final String X_FORWARDED_FOR The HTTPX-Forwarded-Forheader field name (superseded byForwarded).- See Also:
- Constant Field Values
 
 - 
X_FORWARDED_PROTOpublic static final String X_FORWARDED_PROTO The HTTPX-Forwarded-Protoheader field name.- See Also:
- Constant Field Values
 
 - 
X_FORWARDED_HOSTpublic static final String X_FORWARDED_HOST The HTTPX-Forwarded-Hostheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
 
 - 
X_FORWARDED_PORTpublic static final String X_FORWARDED_PORT The HTTPX-Forwarded-Portheader field name.- Since:
- 20.0
- See Also:
- Constant Field Values
 
 - 
X_FRAME_OPTIONSpublic static final String X_FRAME_OPTIONS The HTTPX-Frame-Optionsheader field name.- See Also:
- Constant Field Values
 
 - 
X_POWERED_BYpublic 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_IDpublic static final String X_REQUEST_ID The HTTPX-Request-IDheader field name.- Since:
- 30.1
- See Also:
- Constant Field Values
 
 - 
X_REQUESTED_WITHpublic static final String X_REQUESTED_WITH The HTTPX-Requested-Withheader field name.- See Also:
- Constant Field Values
 
 - 
X_USER_IPpublic 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_PROTECTIONpublic static final String X_XSS_PROTECTION The HTTPX-XSS-Protectionheader field name.- See Also:
- Constant Field Values
 
 - 
X_DNS_PREFETCH_CONTROLpublic 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_FROMpublic static final String PING_FROM The HTTPPing-Fromheader field name.- Since:
- 19.0
- See Also:
- Constant Field Values
 
 - 
PING_TOpublic static final String PING_TO The HTTPPing-Toheader field name.- Since:
- 19.0
- See Also:
- Constant Field Values
 
 - 
PURPOSEpublic static final String PURPOSE The HTTPPurposeheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
X_PURPOSEpublic static final String X_PURPOSE The HTTPX-Purposeheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
X_MOZpublic static final String X_MOZ The HTTPX-Mozheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
SEC_CH_UApublic static final String SEC_CH_UA The HTTPSec-CH-UAheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
 
 - 
SEC_CH_UA_ARCHpublic 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_MODELpublic 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_PLATFORMpublic 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_VERSIONpublic 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_VERSIONpublic 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_MOBILEpublic static final String SEC_CH_UA_MOBILE The HTTPSec-CH-UA-Mobileheader field name.- Since:
- 30.0
- See Also:
- Constant Field Values
 
 - 
SEC_FETCH_DESTpublic static final String SEC_FETCH_DEST The HTTPSec-Fetch-Destheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
SEC_FETCH_MODEpublic static final String SEC_FETCH_MODE The HTTPSec-Fetch-Modeheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
SEC_FETCH_SITEpublic static final String SEC_FETCH_SITE The HTTPSec-Fetch-Siteheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
SEC_FETCH_USERpublic static final String SEC_FETCH_USER The HTTPSec-Fetch-Userheader field name.- Since:
- 27.1
- See Also:
- Constant Field Values
 
 - 
SEC_METADATApublic static final String SEC_METADATA The HTTPSec-Metadataheader field name.- Since:
- 26.0
- See Also:
- Constant Field Values
 
 - 
SEC_TOKEN_BINDINGpublic static final String SEC_TOKEN_BINDING The HTTPSec-Token-Bindingheader field name.- Since:
- 25.1
- See Also:
- Constant Field Values
 
 - 
SEC_PROVIDED_TOKEN_BINDING_IDpublic 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_IDpublic 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_ACCEPTpublic static final String SEC_WEBSOCKET_ACCEPT The HTTPSec-WebSocket-Acceptheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
SEC_WEBSOCKET_EXTENSIONSpublic static final String SEC_WEBSOCKET_EXTENSIONS The HTTPSec-WebSocket-Extensionsheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
SEC_WEBSOCKET_KEYpublic static final String SEC_WEBSOCKET_KEY The HTTPSec-WebSocket-Keyheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
SEC_WEBSOCKET_PROTOCOLpublic static final String SEC_WEBSOCKET_PROTOCOL The HTTPSec-WebSocket-Protocolheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
SEC_WEBSOCKET_VERSIONpublic static final String SEC_WEBSOCKET_VERSION The HTTPSec-WebSocket-Versionheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 - 
CDN_LOOPpublic static final String CDN_LOOP The HTTPCDN-Loopheader field name.- Since:
- 28.0
- See Also:
- Constant Field Values
 
 
- 
 
-