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 class
HttpHeaders.ReferrerPolicyValues
Values for theReferrer-Policy
header.
-
Field Summary
Fields Modifier and Type Field Description static String
ACCEPT
The HTTPAccept
header field name.static String
ACCEPT_CHARSET
The HTTPAccept-Charset
header field name.static String
ACCEPT_ENCODING
The HTTPAccept-Encoding
header field name.static String
ACCEPT_LANGUAGE
The HTTPAccept-Language
header field name.static String
ACCEPT_RANGES
The HTTPAccept-Ranges
header field name.static String
ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTPAccess-Control-Allow-Credentials
header field name.static String
ACCESS_CONTROL_ALLOW_HEADERS
The HTTPAccess-Control-Allow-Headers
header field name.static String
ACCESS_CONTROL_ALLOW_METHODS
The HTTPAccess-Control-Allow-Methods
header field name.static String
ACCESS_CONTROL_ALLOW_ORIGIN
The HTTPAccess-Control-Allow-Origin
header field name.static String
ACCESS_CONTROL_EXPOSE_HEADERS
The HTTPAccess-Control-Expose-Headers
header field name.static String
ACCESS_CONTROL_MAX_AGE
The HTTPAccess-Control-Max-Age
header field name.static String
ACCESS_CONTROL_REQUEST_HEADERS
The HTTPAccess-Control-Request-Headers
header field name.static String
ACCESS_CONTROL_REQUEST_METHOD
The HTTPAccess-Control-Request-Method
header field name.static String
AGE
The HTTPAge
header field name.static String
ALLOW
The HTTPAllow
header field name.static String
AUTHORIZATION
The HTTPAuthorization
header field name.static String
CACHE_CONTROL
The HTTPCache-Control
header field name.static String
CDN_LOOP
The HTTPCDN-Loop
header field name.static String
CONNECTION
The HTTPConnection
header field name.static String
CONTENT_DISPOSITION
The HTTPContent-Disposition
header field name.static String
CONTENT_ENCODING
The HTTPContent-Encoding
header field name.static String
CONTENT_LANGUAGE
The HTTPContent-Language
header field name.static String
CONTENT_LENGTH
The HTTPContent-Length
header field name.static String
CONTENT_LOCATION
The HTTPContent-Location
header field name.static String
CONTENT_MD5
The HTTPContent-MD5
header field name.static String
CONTENT_RANGE
The HTTPContent-Range
header field name.static String
CONTENT_SECURITY_POLICY
The HTTPContent-Security-Policy
header field name.static String
CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTPContent-Security-Policy-Report-Only
header field name.static String
CONTENT_TYPE
The HTTPContent-Type
header field name.static String
COOKIE
The HTTPCookie
header field name.static String
CROSS_ORIGIN_EMBEDDER_POLICY
The HTTPCross-Origin-Embedder-Policy
header field name.static String
CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY
The HTTPCross-Origin-Embedder-Policy-Report-Only
header field name.static String
CROSS_ORIGIN_OPENER_POLICY
The HTTP Cross-Origin-Opener-Policy header field name.static String
CROSS_ORIGIN_RESOURCE_POLICY
The HTTPCross-Origin-Resource-Policy
header field name.static String
DATE
The HTTPDate
header field name.static String
DNT
The HTTPDNT
header field name.static String
EARLY_DATA
The HTTPEarly-Data
header field name.static String
ETAG
The HTTPETag
header field name.static String
EXPECT
The HTTPExpect
header field name.static String
EXPIRES
The HTTPExpires
header field name.static String
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
The HTTPFollow-Only-When-Prerender-Shown
header field name.static String
FORWARDED
The HTTPForwarded
header field name.static String
FROM
The HTTPFrom
header field name.static String
HOST
The HTTPHost
header field name.static String
HTTP2_SETTINGS
The HTTPHTTP2-Settings
header field name.static String
IF_MATCH
The HTTPIf-Match
header field name.static String
IF_MODIFIED_SINCE
The HTTPIf-Modified-Since
header field name.static String
IF_NONE_MATCH
The HTTPIf-None-Match
header field name.static String
IF_RANGE
The HTTPIf-Range
header field name.static String
IF_UNMODIFIED_SINCE
The HTTPIf-Unmodified-Since
header field name.static String
LAST_EVENT_ID
The HTTPLast-Event-ID
header field name.static String
LAST_MODIFIED
The HTTPLast-Modified
header field name.static String
LINK
The HTTPLink
header field name.static String
LOCATION
The HTTPLocation
header field name.static String
MAX_FORWARDS
The HTTPMax-Forwards
header field name.static String
ORIGIN
The HTTPOrigin
header field name.static String
ORIGIN_ISOLATION
The HTTPOrigin-Isolation
header field name.static String
ORIGIN_TRIAL
The HTTPOrigin-Trial
header field name.static String
P3P
The HTTPP3P
header field name.static String
PING_FROM
The HTTPPing-From
header field name.static String
PING_TO
The HTTPPing-To
header field name.static String
PRAGMA
The HTTPPragma
header field name.static String
PROXY_AUTHENTICATE
The HTTPProxy-Authenticate
header field name.static String
PROXY_AUTHORIZATION
The HTTPProxy-Authorization
header field name.static String
PUBLIC_KEY_PINS
The HTTPPublic-Key-Pins
header field name.static String
PUBLIC_KEY_PINS_REPORT_ONLY
The HTTPPublic-Key-Pins-Report-Only
header field name.static String
PURPOSE
The HTTPPurpose
header field name.static String
RANGE
The HTTPRange
header field name.static String
REFERER
The HTTPReferer
header field name.static String
REFERRER_POLICY
The HTTPReferrer-Policy
header field name.static String
REFRESH
The HTTPRefresh
header field name.static String
REPORT_TO
The HTTPReport-To
header field name.static String
RETRY_AFTER
The HTTPRetry-After
header field name.static String
SEC_CH_UA
The HTTPSec-CH-UA
header field name.static String
SEC_CH_UA_ARCH
The HTTPSec-CH-UA-Arch
header field name.static String
SEC_CH_UA_FULL_VERSION
The HTTPSec-CH-UA-Full-Version
header field name.static String
SEC_CH_UA_MOBILE
The HTTPSec-CH-UA-Mobile
header field name.static String
SEC_CH_UA_MODEL
The HTTPSec-CH-UA-Model
header field name.static String
SEC_CH_UA_PLATFORM
The HTTPSec-CH-UA-Platform
header field name.static String
SEC_CH_UA_PLATFORM_VERSION
The HTTPSec-CH-UA-Platform-Version
header field name.static String
SEC_FETCH_DEST
The HTTPSec-Fetch-Dest
header field name.static String
SEC_FETCH_MODE
The HTTPSec-Fetch-Mode
header field name.static String
SEC_FETCH_SITE
The HTTPSec-Fetch-Site
header field name.static String
SEC_FETCH_USER
The HTTPSec-Fetch-User
header field name.static String
SEC_METADATA
The HTTPSec-Metadata
header field name.static String
SEC_PROVIDED_TOKEN_BINDING_ID
The HTTPSec-Provided-Token-Binding-ID
header field name.static String
SEC_REFERRED_TOKEN_BINDING_ID
The HTTPSec-Referred-Token-Binding-ID
header field name.static String
SEC_TOKEN_BINDING
The HTTPSec-Token-Binding
header field name.static String
SEC_WEBSOCKET_ACCEPT
The HTTPSec-WebSocket-Accept
header field name.static String
SEC_WEBSOCKET_EXTENSIONS
The HTTPSec-WebSocket-Extensions
header field name.static String
SEC_WEBSOCKET_KEY
The HTTPSec-WebSocket-Key
header field name.static String
SEC_WEBSOCKET_PROTOCOL
The HTTPSec-WebSocket-Protocol
header field name.static String
SEC_WEBSOCKET_VERSION
The HTTPSec-WebSocket-Version
header field name.static String
SERVER
The HTTPServer
header field name.static String
SERVER_TIMING
The HTTPServer-Timing
header field name.static String
SERVICE_WORKER
The HTTPService-Worker
header field name.static String
SERVICE_WORKER_ALLOWED
The HTTPService-Worker-Allowed
header field name.static String
SET_COOKIE
The HTTPSet-Cookie
header field name.static String
SET_COOKIE2
The HTTPSet-Cookie2
header field name.static String
SOURCE_MAP
The HTTPSourceMap
header field name.static String
STRICT_TRANSPORT_SECURITY
The HTTPStrict-Transport-Security
header field name.static String
TE
The HTTPTE
header field name.static String
TIMING_ALLOW_ORIGIN
The HTTPTiming-Allow-Origin
header field name.static String
TRAILER
The HTTPTrailer
header field name.static String
TRANSFER_ENCODING
The HTTPTransfer-Encoding
header field name.static String
UPGRADE
The HTTPUpgrade
header field name.static String
UPGRADE_INSECURE_REQUESTS
The HTTPUpgrade-Insecure-Requests
header field name.static String
USER_AGENT
The HTTPUser-Agent
header field name.static String
VARY
The HTTPVary
header field name.static String
VIA
The HTTPVia
header field name.static String
WARNING
The HTTPWarning
header field name.static String
WWW_AUTHENTICATE
The HTTPWWW-Authenticate
header field name.static String
X_CONTENT_SECURITY_POLICY
The HTTP nonstandardX-Content-Security-Policy
header field name.static String
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTP nonstandardX-Content-Security-Policy-Report-Only
header field name.static String
X_CONTENT_TYPE_OPTIONS
The HTTPX-Content-Type-Options
header field name.static String
X_DNS_PREFETCH_CONTROL
The HTTPX-DNS-Prefetch-Control
header controls DNS prefetch behavior.static String
X_DO_NOT_TRACK
The HTTPX-Do-Not-Track
header field name.static String
X_DOWNLOAD_OPTIONS
The HTTPX-Download-Options
header field name.static String
X_FORWARDED_FOR
The HTTPX-Forwarded-For
header field name (superseded byForwarded
).static String
X_FORWARDED_HOST
The HTTPX-Forwarded-Host
header field name.static String
X_FORWARDED_PORT
The HTTPX-Forwarded-Port
header field name.static String
X_FORWARDED_PROTO
The HTTPX-Forwarded-Proto
header field name.static String
X_FRAME_OPTIONS
The HTTPX-Frame-Options
header field name.static String
X_MOZ
The HTTPX-Moz
header field name.static String
X_POWERED_BY
The HTTPX-Powered-By
header field name.static String
X_PURPOSE
The HTTPX-Purpose
header field name.static String
X_REQUEST_ID
The HTTPX-Request-ID
header field name.static String
X_REQUESTED_WITH
The HTTPX-Requested-With
header field name.static String
X_USER_IP
The HTTPX-User-IP
header field name.static String
X_WEBKIT_CSP
The HTTP nonstandardX-WebKit-CSP
header field name.static String
X_WEBKIT_CSP_REPORT_ONLY
The HTTP nonstandardX-WebKit-CSP-Report-Only
header field name.static String
X_XSS_PROTECTION
The HTTPX-XSS-Protection
header field name.
-
-
-
Field Detail
-
CACHE_CONTROL
public static final String CACHE_CONTROL
The HTTPCache-Control
header field name.- See Also:
- Constant Field Values
-
CONTENT_LENGTH
public static final String CONTENT_LENGTH
The HTTPContent-Length
header field name.- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
The HTTPContent-Type
header field name.- See Also:
- Constant Field Values
-
DATE
public static final String DATE
The HTTPDate
header field name.- See Also:
- Constant Field Values
-
PRAGMA
public static final String PRAGMA
The HTTPPragma
header field name.- See Also:
- Constant Field Values
-
VIA
public static final String VIA
The HTTPVia
header field name.- See Also:
- Constant Field Values
-
WARNING
public static final String WARNING
The HTTPWarning
header field name.- See Also:
- Constant Field Values
-
ACCEPT
public static final String ACCEPT
The HTTPAccept
header field name.- See Also:
- Constant Field Values
-
ACCEPT_CHARSET
public static final String ACCEPT_CHARSET
The HTTPAccept-Charset
header field name.- See Also:
- Constant Field Values
-
ACCEPT_ENCODING
public static final String ACCEPT_ENCODING
The HTTPAccept-Encoding
header field name.- See Also:
- Constant Field Values
-
ACCEPT_LANGUAGE
public static final String ACCEPT_LANGUAGE
The HTTPAccept-Language
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_HEADERS
public static final String ACCESS_CONTROL_REQUEST_HEADERS
The HTTPAccess-Control-Request-Headers
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_METHOD
public static final String ACCESS_CONTROL_REQUEST_METHOD
The HTTPAccess-Control-Request-Method
header field name.- See Also:
- Constant Field Values
-
AUTHORIZATION
public static final String AUTHORIZATION
The HTTPAuthorization
header field name.- See Also:
- Constant Field Values
-
CONNECTION
public static final String CONNECTION
The HTTPConnection
header field name.- See Also:
- Constant Field Values
-
COOKIE
public static final String COOKIE
The HTTPCookie
header field name.- See Also:
- Constant Field Values
-
CROSS_ORIGIN_RESOURCE_POLICY
public static final String CROSS_ORIGIN_RESOURCE_POLICY
The HTTPCross-Origin-Resource-Policy
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
EARLY_DATA
public static final String EARLY_DATA
The HTTPEarly-Data
header field name.- Since:
- 27.0
- See Also:
- Constant Field Values
-
EXPECT
public static final String EXPECT
The HTTPExpect
header field name.- See Also:
- Constant Field Values
-
FROM
public static final String FROM
The HTTPFrom
header field name.- See Also:
- Constant Field Values
-
FORWARDED
public static final String FORWARDED
The HTTPForwarded
header 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-Shown
header field name.- Since:
- 17.0
- See Also:
- Constant Field Values
-
HOST
public static final String HOST
The HTTPHost
header field name.- See Also:
- Constant Field Values
-
HTTP2_SETTINGS
public static final String HTTP2_SETTINGS
The HTTPHTTP2-Settings
header field name.- Since:
- 24.0
- See Also:
- Constant Field Values
-
IF_MATCH
public static final String IF_MATCH
The HTTPIf-Match
header field name.- See Also:
- Constant Field Values
-
IF_MODIFIED_SINCE
public static final String IF_MODIFIED_SINCE
The HTTPIf-Modified-Since
header field name.- See Also:
- Constant Field Values
-
IF_NONE_MATCH
public static final String IF_NONE_MATCH
The HTTPIf-None-Match
header field name.- See Also:
- Constant Field Values
-
IF_RANGE
public static final String IF_RANGE
The HTTPIf-Range
header field name.- See Also:
- Constant Field Values
-
IF_UNMODIFIED_SINCE
public static final String IF_UNMODIFIED_SINCE
The HTTPIf-Unmodified-Since
header field name.- See Also:
- Constant Field Values
-
LAST_EVENT_ID
public static final String LAST_EVENT_ID
The HTTPLast-Event-ID
header field name.- See Also:
- Constant Field Values
-
MAX_FORWARDS
public static final String MAX_FORWARDS
The HTTPMax-Forwards
header field name.- See Also:
- Constant Field Values
-
ORIGIN
public static final String ORIGIN
The HTTPOrigin
header field name.- See Also:
- Constant Field Values
-
ORIGIN_ISOLATION
public static final String ORIGIN_ISOLATION
The HTTPOrigin-Isolation
header field name.- Since:
- 30.1
- See Also:
- Constant Field Values
-
PROXY_AUTHORIZATION
public static final String PROXY_AUTHORIZATION
The HTTPProxy-Authorization
header field name.- See Also:
- Constant Field Values
-
RANGE
public static final String RANGE
The HTTPRange
header field name.- See Also:
- Constant Field Values
-
REFERER
public static final String REFERER
The HTTPReferer
header field name.- See Also:
- Constant Field Values
-
REFERRER_POLICY
public static final String REFERRER_POLICY
The HTTPReferrer-Policy
header field name.- Since:
- 23.4
- See Also:
- Constant Field Values
-
SERVICE_WORKER
public static final String SERVICE_WORKER
The HTTPService-Worker
header field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
TE
public static final String TE
The HTTPTE
header field name.- See Also:
- Constant Field Values
-
UPGRADE
public static final String UPGRADE
The HTTPUpgrade
header field name.- See Also:
- Constant Field Values
-
UPGRADE_INSECURE_REQUESTS
public static final String UPGRADE_INSECURE_REQUESTS
The HTTPUpgrade-Insecure-Requests
header field name.- Since:
- 28.1
- See Also:
- Constant Field Values
-
USER_AGENT
public static final String USER_AGENT
The HTTPUser-Agent
header field name.- See Also:
- Constant Field Values
-
ACCEPT_RANGES
public static final String ACCEPT_RANGES
The HTTPAccept-Ranges
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_HEADERS
public static final String ACCESS_CONTROL_ALLOW_HEADERS
The HTTPAccess-Control-Allow-Headers
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_METHODS
public static final String ACCESS_CONTROL_ALLOW_METHODS
The HTTPAccess-Control-Allow-Methods
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_ORIGIN
public static final String ACCESS_CONTROL_ALLOW_ORIGIN
The HTTPAccess-Control-Allow-Origin
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTPAccess-Control-Allow-Credentials
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_EXPOSE_HEADERS
public static final String ACCESS_CONTROL_EXPOSE_HEADERS
The HTTPAccess-Control-Expose-Headers
header field name.- See Also:
- Constant Field Values
-
ACCESS_CONTROL_MAX_AGE
public static final String ACCESS_CONTROL_MAX_AGE
The HTTPAccess-Control-Max-Age
header field name.- See Also:
- Constant Field Values
-
AGE
public static final String AGE
The HTTPAge
header field name.- See Also:
- Constant Field Values
-
ALLOW
public static final String ALLOW
The HTTPAllow
header field name.- See Also:
- Constant Field Values
-
CONTENT_DISPOSITION
public static final String CONTENT_DISPOSITION
The HTTPContent-Disposition
header field name.- See Also:
- Constant Field Values
-
CONTENT_ENCODING
public static final String CONTENT_ENCODING
The HTTPContent-Encoding
header field name.- See Also:
- Constant Field Values
-
CONTENT_LANGUAGE
public static final String CONTENT_LANGUAGE
The HTTPContent-Language
header field name.- See Also:
- Constant Field Values
-
CONTENT_LOCATION
public static final String CONTENT_LOCATION
The HTTPContent-Location
header field name.- See Also:
- Constant Field Values
-
CONTENT_MD5
public static final String CONTENT_MD5
The HTTPContent-MD5
header field name.- See Also:
- Constant Field Values
-
CONTENT_RANGE
public static final String CONTENT_RANGE
The HTTPContent-Range
header field name.- See Also:
- Constant Field Values
-
CONTENT_SECURITY_POLICY
public static final String CONTENT_SECURITY_POLICY
The HTTPContent-Security-Policy
header 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-Only
header 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-Policy
header 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
to 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-Only
header 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_ONLY
to 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-CSP
header field name. It was introduced in CSP v.1 and used by the Chrome until version 25. Please, useCONTENT_SECURITY_POLICY
to 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-Only
header field name. It was introduced in CSP v.1 and used by the Chrome until version 25. Please, useCONTENT_SECURITY_POLICY_REPORT_ONLY
to 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-Policy
header 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-Only
header 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 HTTPETag
header field name.- See Also:
- Constant Field Values
-
EXPIRES
public static final String EXPIRES
The HTTPExpires
header field name.- See Also:
- Constant Field Values
-
LAST_MODIFIED
public static final String LAST_MODIFIED
The HTTPLast-Modified
header field name.- See Also:
- Constant Field Values
-
LINK
public static final String LINK
The HTTPLink
header field name.- See Also:
- Constant Field Values
-
LOCATION
public static final String LOCATION
The HTTPLocation
header field name.- See Also:
- Constant Field Values
-
ORIGIN_TRIAL
public static final String ORIGIN_TRIAL
The HTTPOrigin-Trial
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
P3P
public static final String P3P
The HTTPP3P
header field name. Limited browser support.- See Also:
- Constant Field Values
-
PROXY_AUTHENTICATE
public static final String PROXY_AUTHENTICATE
The HTTPProxy-Authenticate
header field name.- See Also:
- Constant Field Values
-
REFRESH
public static final String REFRESH
The HTTPRefresh
header field name. Non-standard header supported by most browsers.- See Also:
- Constant Field Values
-
REPORT_TO
public static final String REPORT_TO
The HTTPReport-To
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
RETRY_AFTER
public static final String RETRY_AFTER
The HTTPRetry-After
header field name.- See Also:
- Constant Field Values
-
SERVER
public static final String SERVER
The HTTPServer
header field name.- See Also:
- Constant Field Values
-
SERVER_TIMING
public static final String SERVER_TIMING
The HTTPServer-Timing
header field name.- Since:
- 23.6
- See Also:
- Constant Field Values
-
SERVICE_WORKER_ALLOWED
public static final String SERVICE_WORKER_ALLOWED
The HTTPService-Worker-Allowed
header field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
SET_COOKIE
public static final String SET_COOKIE
The HTTPSet-Cookie
header field name.- See Also:
- Constant Field Values
-
SET_COOKIE2
public static final String SET_COOKIE2
The HTTPSet-Cookie2
header field name.- See Also:
- Constant Field Values
-
SOURCE_MAP
@Beta public static final String SOURCE_MAP
The HTTPSourceMap
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
STRICT_TRANSPORT_SECURITY
public static final String STRICT_TRANSPORT_SECURITY
The HTTPStrict-Transport-Security
header field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
TIMING_ALLOW_ORIGIN
public static final String TIMING_ALLOW_ORIGIN
The HTTPTiming-Allow-Origin
header field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
TRAILER
public static final String TRAILER
The HTTPTrailer
header field name.- See Also:
- Constant Field Values
-
TRANSFER_ENCODING
public static final String TRANSFER_ENCODING
The HTTPTransfer-Encoding
header field name.- See Also:
- Constant Field Values
-
VARY
public static final String VARY
The HTTPVary
header field name.- See Also:
- Constant Field Values
-
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
The HTTPWWW-Authenticate
header field name.- See Also:
- Constant Field Values
-
DNT
public static final String DNT
The HTTPDNT
header field name.- See Also:
- Constant Field Values
-
X_CONTENT_TYPE_OPTIONS
public static final String X_CONTENT_TYPE_OPTIONS
The HTTPX-Content-Type-Options
header field name.- See Also:
- Constant Field Values
-
X_DO_NOT_TRACK
public static final String X_DO_NOT_TRACK
The HTTPX-Do-Not-Track
header field name.- See Also:
- Constant Field Values
-
X_FORWARDED_FOR
public static final String X_FORWARDED_FOR
The HTTPX-Forwarded-For
header field name (superseded byForwarded
).- See Also:
- Constant Field Values
-
X_FORWARDED_PROTO
public static final String X_FORWARDED_PROTO
The HTTPX-Forwarded-Proto
header field name.- See Also:
- Constant Field Values
-
X_FORWARDED_HOST
public static final String X_FORWARDED_HOST
The HTTPX-Forwarded-Host
header field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
X_FORWARDED_PORT
public static final String X_FORWARDED_PORT
The HTTPX-Forwarded-Port
header field name.- Since:
- 20.0
- See Also:
- Constant Field Values
-
X_FRAME_OPTIONS
public static final String X_FRAME_OPTIONS
The HTTPX-Frame-Options
header field name.- See Also:
- Constant Field Values
-
X_POWERED_BY
public static final String X_POWERED_BY
The HTTPX-Powered-By
header field name.- See Also:
- Constant Field Values
-
PUBLIC_KEY_PINS
@Beta public static final String PUBLIC_KEY_PINS
The HTTPPublic-Key-Pins
header 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-Only
header field name.- Since:
- 15.0
- See Also:
- Constant Field Values
-
X_REQUEST_ID
public static final String X_REQUEST_ID
The HTTPX-Request-ID
header field name.- Since:
- 30.1
- See Also:
- Constant Field Values
-
X_REQUESTED_WITH
public static final String X_REQUESTED_WITH
The HTTPX-Requested-With
header field name.- See Also:
- Constant Field Values
-
X_USER_IP
public static final String X_USER_IP
The HTTPX-User-IP
header field name.- See Also:
- Constant Field Values
-
X_DOWNLOAD_OPTIONS
@Beta public static final String X_DOWNLOAD_OPTIONS
The HTTPX-Download-Options
header 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-Protection
header field name.- See Also:
- Constant Field Values
-
X_DNS_PREFETCH_CONTROL
public static final String X_DNS_PREFETCH_CONTROL
The HTTPX-DNS-Prefetch-Control
header 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-From
header field name.- Since:
- 19.0
- See Also:
- Constant Field Values
-
PING_TO
public static final String PING_TO
The HTTPPing-To
header field name.- Since:
- 19.0
- See Also:
- Constant Field Values
-
PURPOSE
public static final String PURPOSE
The HTTPPurpose
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
X_PURPOSE
public static final String X_PURPOSE
The HTTPX-Purpose
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
X_MOZ
public static final String X_MOZ
The HTTPX-Moz
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_CH_UA
public static final String SEC_CH_UA
The HTTPSec-CH-UA
header 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-Arch
header 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-Model
header 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-Platform
header 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-Version
header 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-Version
header 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-Mobile
header field name.- Since:
- 30.0
- See Also:
- Constant Field Values
-
SEC_FETCH_DEST
public static final String SEC_FETCH_DEST
The HTTPSec-Fetch-Dest
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_MODE
public static final String SEC_FETCH_MODE
The HTTPSec-Fetch-Mode
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_SITE
public static final String SEC_FETCH_SITE
The HTTPSec-Fetch-Site
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_FETCH_USER
public static final String SEC_FETCH_USER
The HTTPSec-Fetch-User
header field name.- Since:
- 27.1
- See Also:
- Constant Field Values
-
SEC_METADATA
public static final String SEC_METADATA
The HTTPSec-Metadata
header field name.- Since:
- 26.0
- See Also:
- Constant Field Values
-
SEC_TOKEN_BINDING
public static final String SEC_TOKEN_BINDING
The HTTPSec-Token-Binding
header 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-ID
header 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-ID
header field name.- Since:
- 25.1
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_ACCEPT
public static final String SEC_WEBSOCKET_ACCEPT
The HTTPSec-WebSocket-Accept
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_EXTENSIONS
public static final String SEC_WEBSOCKET_EXTENSIONS
The HTTPSec-WebSocket-Extensions
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_KEY
public static final String SEC_WEBSOCKET_KEY
The HTTPSec-WebSocket-Key
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_PROTOCOL
public static final String SEC_WEBSOCKET_PROTOCOL
The HTTPSec-WebSocket-Protocol
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
SEC_WEBSOCKET_VERSION
public static final String SEC_WEBSOCKET_VERSION
The HTTPSec-WebSocket-Version
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
CDN_LOOP
public static final String CDN_LOOP
The HTTPCDN-Loop
header field name.- Since:
- 28.0
- See Also:
- Constant Field Values
-
-