Package com.google.common.net
Class HttpHeaders
- java.lang.Object
-
- com.google.common.net.HttpHeaders
-
-
Field Summary
Fields 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 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 StringDATEThe HTTPDateheader field name.static StringDNTThe HTTPDNTheader field name.static StringETAGThe HTTPETagheader field name.static StringEXPECTThe HTTPExpectheader field name.static StringEXPIRESThe HTTPExpiresheader field name.static StringFROMThe HTTPFromheader field name.static StringHOSTThe HTTPHostheader 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 StringP3PThe HTTPP3Pheader 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 StringRANGEThe HTTPRangeheader field name.static StringREFERERThe HTTPRefererheader field name.static StringREFRESHThe HTTPRefreshheader field name.static StringRETRY_AFTERThe HTTPRetry-Afterheader field name.static StringSERVERThe HTTPServerheader field name.static StringSET_COOKIEThe HTTPSet-Cookieheader field name.static StringSET_COOKIE2The HTTPSet-Cookie2header 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 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_TYPE_OPTIONSThe HTTPX-Content-Type-Optionsheader field name.static StringX_DO_NOT_TRACKThe HTTPX-Do-Not-Trackheader field name.static StringX_FORWARDED_FORThe HTTPX-Forwarded-Forheader field name.static StringX_FORWARDED_PROTOThe HTTPX-Forwarded-Protoheader field name.static StringX_FRAME_OPTIONSThe HTTPX-Frame-Optionsheader field name.static StringX_POWERED_BYThe HTTPX-Powered-Byheader field name.static StringX_REQUESTED_WITHThe HTTPX-Requested-Withheader field name.static StringX_USER_IPThe HTTPX-User-IPheader 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
-
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
-
HOST
public static final String HOST
The HTTPHostheader field name.- 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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_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.- 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_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_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_XSS_PROTECTION
public static final String X_XSS_PROTECTION
The HTTPX-XSS-Protectionheader field name.- See Also:
- Constant Field Values
-
-