Package com.helger.http
Class CHttpHeader
java.lang.Object
com.helger.http.CHttpHeader
Predefined HTTP header names and values.
- Author:
- Philip Helger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRFC 9110 Section 12.5.1static final StringRFC 9110 Section 12.5.2static final StringRFC 9110 Section 12.5.3static final StringRFC 9110 Section 12.5.4static final StringRFC 5789 Section 3.1static final StringRFC 9110 Section 14.3static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringRFC 9111 Section 5.1static final StringRFC 9110 Section 10.2.1static final StringAlt-Svc header (RFC 7838).static final StringRFC 4130 Section 6.1static final StringRFC 4130 Section 6.1static final StringRFC 4130 Section 6.1static final StringRFC 9110 Section 11.6.2static final StringRFC 9111 Section 5.2static final StringRFC 9110 Section 7.6.1static final StringRFC 2045 Section 8static final StringRFC 6266static final StringRFC 9110 Section 8.4static final StringRFC 2045 Section 7static final StringRFC 9110 Section 8.5static final StringRFC 9110 Section 8.6static final StringRFC 9110 Section 14.4static final StringDeprecated.static final Stringstatic final Stringstatic final StringDeprecated.static final StringRFC 2045 Section 6static final StringRFC 9110 Section 8.3static final StringRFC 6265 Section 5.4static final StringCross-Origin-Embedder-Policy (COEP) header.static final StringCross-Origin-Opener-Policy (COOP) header.static final StringCross-Origin-Resource-Policy (CORP) header.static final StringRFC 9110 Section 6.6.1static final Stringstatic final StringRFC 8098 Section 2.2static final StringRFC 8098 Section 2.1.static final StringDeprecated.static final StringRFC 6017static final StringRFC 9110 Section 8.8.3static final StringRFC 9110 Section 10.1.1static final StringRFC 9111 Section 5.3static final StringDeprecated.static final StringRFC 7239static final StringRFC 9110 Section 10.1.2static final StringRFC 9110 Section 7.2static final StringRFC 9110 Section 13.1.1static final StringRFC 9110 Section 13.1.3static final StringRFC 9110 Section 13.1.2static final StringRFC 9110 Section 13.1.5static final StringRFC 9110 Section 13.1.4static final StringRFC 9110 Section 8.8.2static final StringRFC 9110 Section 10.2.2static final Stringstatic final StringRFC 9110 Section 7.6.2static final StringRFC 5322 Section 3.6.4static final StringRFC 2045 Section 4static final Stringstatic final Stringstatic final StringPermissions-Policy header (successor to Feature-Policy).static final StringDeprecated.static final StringDeprecated.static final StringPriority header (RFC 9218).static final Stringstatic final Stringstatic final StringThe "Proxy" header famous from the Httpoxy attack.
https://www.apache.org/security/asf-httpoxy-response.txtstatic final StringRFC 9110 Section 11.7.1static final StringRFC 9110 Section 11.7.2static final StringRFC 9110 Section 14.2static final StringRFC 4130 Section 7.3.static final StringRFC 4130 Section 6.2static final StringRFC 9110 Section 10.1.3static final Stringhttps://scotthelme.co.uk/a-new-security-header-referrer-policy/
E.g.static final Stringstatic final StringRFC 9110 Section 10.2.3.static final StringRFC 9110 Section 10.2.4static final StringRFC 6265 Section 4.1static final StringRFC 6797.static final StringRFC 5322 Section 3.6.5static final StringRFC 9110 Section 10.1.4static final StringRFC 9110 Section 6.6.2static final StringRFC 9112 Section 6.1static final StringDeprecated.static final StringRFC 9110 Section 7.8static final StringRFC 9110 Section 10.1.5static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringRFC 9110 Section 12.5.5static final StringRFC 9110 Section 7.6.3static final Stringstatic final Stringstatic final StringDeprecated.static final StringDeprecated.static final StringRFC 9110 Section 11.6.1static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final Stringhttps://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g.static final StringDeprecated.static final StringRFC 7034.static final StringDeprecated.static final Stringstatic final Stringstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated. -
Method Summary
-
Field Details
-
ACCEPT
RFC 9110 Section 12.5.1- See Also:
-
ACCEPT_CHARSET
RFC 9110 Section 12.5.2- See Also:
-
ACCEPT_ENCODING
RFC 9110 Section 12.5.3- See Also:
-
ACCEPT_LANGUAGE
RFC 9110 Section 12.5.4- See Also:
-
ACCEPT_PATCH
RFC 5789 Section 3.1- See Also:
-
AGE
RFC 9111 Section 5.1- See Also:
-
ALLOW
RFC 9110 Section 10.2.1- See Also:
-
CACHE_CONTROL
RFC 9111 Section 5.2- See Also:
-
CONNECTION
RFC 9110 Section 7.6.1- See Also:
-
CONTENT_DESCRIPTION
RFC 2045 Section 8- See Also:
-
CONTENT_DISPOSITION
RFC 6266- See Also:
-
CONTENT_ENCODING
RFC 9110 Section 8.4- See Also:
-
CONTENT_ID
RFC 2045 Section 7- See Also:
-
CONTENT_TYPE
RFC 9110 Section 8.3- See Also:
-
COOKIE
RFC 6265 Section 5.4- See Also:
-
DATE
RFC 9110 Section 6.6.1- See Also:
-
ETAG
RFC 9110 Section 8.8.3- See Also:
-
EXPIRES
RFC 9111 Section 5.3- See Also:
-
FORWARDED
RFC 7239- See Also:
-
HOST
RFC 9110 Section 7.2- See Also:
-
IF_NON_MATCH
RFC 9110 Section 13.1.2- See Also:
-
IF_MATCH
RFC 9110 Section 13.1.1- See Also:
-
IF_MODIFIED_SINCE
RFC 9110 Section 13.1.3- See Also:
-
IF_UNMODIFIED_SINCE
RFC 9110 Section 13.1.4- See Also:
-
LAST_MODIFIED
RFC 9110 Section 8.8.2- See Also:
-
LOCATION
RFC 9110 Section 10.2.2- See Also:
-
PRAGMA
Deprecated.Deprecated in RFC 9111 Section 5.4. UseCACHE_CONTROLinstead.- See Also:
-
REFERER
RFC 9110 Section 10.1.3- See Also:
-
USER_AGENT
RFC 9110 Section 10.1.5- See Also:
-
VARY
RFC 9110 Section 12.5.5- See Also:
-
WARNING
Deprecated.Removed in RFC 9111 (HTTP Caching, 2022). No longer defined in the HTTP standard.- See Also:
-
AUTHORIZATION
RFC 9110 Section 11.6.2- See Also:
-
PROXY_AUTHORIZATION
RFC 9110 Section 11.7.2- See Also:
-
WWW_AUTHENTICATE
RFC 9110 Section 11.6.1- See Also:
-
STRICT_TRANSPORT_SECURITY
RFC 6797. E.g. "max-age=16070400; includeSubDomains"- See Also:
-
X_FRAME_OPTIONS
RFC 7034. E.g. X-Frame-Options: deny- See Also:
-
X_XSS_PROTECTION
Deprecated.https://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g. X-XSS-Protection: 1; mode=block- See Also:
-
X_CONTENT_TYPE_OPTIONS
https://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g. X-Content-Type-Options: nosniff- See Also:
-
REFERRER_POLICY
https://scotthelme.co.uk/a-new-security-header-referrer-policy/
E.g. Referrer-Policy: strict-origin- See Also:
-
PROXY
The "Proxy" header famous from the Httpoxy attack.
https://www.apache.org/security/asf-httpoxy-response.txt- See Also:
-
RETRY_AFTER
RFC 9110 Section 10.2.3. The Retry-After response-header field can be used with a 503 (Service Unavailable) response to indicate how long the service is expected to be unavailable to the requesting client. This field MAY also be used with any 3xx (Redirection) response to indicate the minimum time the user-agent is asked wait before issuing the redirected request. The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the response- See Also:
-
DNT
Deprecated.Do Not Track header. Abandoned; never standardized, removed from most browsers.- See Also:
-
UA
Deprecated.Non-standard user agent variant.- See Also:
-
X_DEVICE_USER_AGENT
Deprecated.Non-standard device user agent header.- See Also:
-
CONTENT_LANGUAGE
RFC 9110 Section 8.5- See Also:
-
CONTENT_SCRIPT_TYPE
Deprecated.HTML 4.01 only; obsolete in HTML5.- See Also:
-
CONTENT_STYLE_TYPE
Deprecated.HTML 4.01 only; obsolete in HTML5.- See Also:
-
DEFAULT_STYLE
- See Also:
-
REFRESH
- See Also:
-
WINDOW_TARGET
Deprecated.Non-standard header; never widely supported.- See Also:
-
EXT_CACHE
Deprecated.Non-standard header.- See Also:
-
PICS_LABEL
Deprecated.PICS was discontinued by W3C in 2006; obsolete.- See Also:
-
X_UA_COMPATIBLE
Deprecated.IE-specific header; no longer relevant.- See Also:
-
CONTENT_LENGTH
RFC 9110 Section 8.6- See Also:
-
SET_COOKIE
RFC 6265 Section 4.1- See Also:
-
TRANSFER_ENCODING
RFC 9112 Section 6.1- See Also:
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
- See Also:
-
ACCESS_CONTROL_ALLOW_HEADERS
- See Also:
-
ACCESS_CONTROL_ALLOW_METHODS
- See Also:
-
ACCESS_CONTROL_ALLOW_ORIGIN
- See Also:
-
ACCESS_CONTROL_EXPOSE_HEADERS
- See Also:
-
ACCESS_CONTROL_MAX_AGE
- See Also:
-
ACCESS_CONTROL_REQUEST_METHOD
- See Also:
-
ACCESS_CONTROL_REQUEST_HEADERS
- See Also:
-
ORIGIN
- See Also:
-
CONTENT_SECURITY_POLICY
- See Also:
-
X_CONTENT_SECURITY_POLICY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
X_WEBKIT_CSP
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CONTENT_SECURITY_POLICY_REPORT_ONLY
- See Also:
-
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
@Deprecated(forRemoval=true, since="12.1.4") public static final String X_CONTENT_SECURITY_POLICY_REPORT_ONLYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
X_WAP_PROFILE
- See Also:
-
PROFILE
- See Also:
-
WAP_PROFILE
- See Also:
-
MAN
- See Also:
-
OPT
- See Also:
-
X_WAP_PROFILE_DIFF
- See Also:
-
PROFILE_DIFF
- See Also:
-
WAP_PROFILE_DIFF
- See Also:
-
AS2_FROM
RFC 4130 Section 6.1- See Also:
-
AS2_TO
RFC 4130 Section 6.1- See Also:
-
AS2_VERSION
RFC 4130 Section 6.1- See Also:
-
CONTENT_TRANSFER_ENCODING
RFC 2045 Section 6- See Also:
-
DISPOSITION_NOTIFICATION_OPTIONS
RFC 8098 Section 2.2- See Also:
-
DISPOSITION_NOTIFICATION_TO
RFC 8098 Section 2.1. The URL where the async MDN should be sent to - limited to RFC 2822- See Also:
-
FROM
RFC 9110 Section 10.1.2- See Also:
-
MESSAGE_ID
RFC 5322 Section 3.6.4- See Also:
-
MIME_VERSION
RFC 2045 Section 4- See Also:
-
RECEIPT_DELIVERY_OPTION
RFC 4130 Section 7.3. The URL where the async MDN should be sent to- See Also:
-
RECIPIENT_ADDRESS
RFC 4130 Section 6.2- See Also:
-
SERVER
RFC 9110 Section 10.2.4- See Also:
-
SUBJECT
RFC 5322 Section 3.6.5- See Also:
-
EDIINT_FEATURES
RFC 6017- See Also:
-
ACCEPT_RANGES
RFC 9110 Section 14.3- Since:
- 12.1.5
- See Also:
-
CONTENT_RANGE
RFC 9110 Section 14.4- Since:
- 12.1.5
- See Also:
-
EXPECT
RFC 9110 Section 10.1.1- Since:
- 12.1.5
- See Also:
-
IF_RANGE
RFC 9110 Section 13.1.5- Since:
- 12.1.5
- See Also:
-
MAX_FORWARDS
RFC 9110 Section 7.6.2- Since:
- 12.1.5
- See Also:
-
PROXY_AUTHENTICATE
RFC 9110 Section 11.7.1- Since:
- 12.1.5
- See Also:
-
RANGE
RFC 9110 Section 14.2- Since:
- 12.1.5
- See Also:
-
TE
RFC 9110 Section 10.1.4- Since:
- 12.1.5
- See Also:
-
TRAILER
RFC 9110 Section 6.6.2- Since:
- 12.1.5
- See Also:
-
UPGRADE
RFC 9110 Section 7.8- Since:
- 12.1.5
- See Also:
-
VIA
RFC 9110 Section 7.6.3- Since:
- 12.1.5
- See Also:
-
PERMISSIONS_POLICY
Permissions-Policy header (successor to Feature-Policy). See https://w3c.github.io/webappsec-permissions-policy/- Since:
- 12.1.5
- See Also:
-
CROSS_ORIGIN_EMBEDDER_POLICY
Cross-Origin-Embedder-Policy (COEP) header. See https://html.spec.whatwg.org/multipage/origin.html#coep- Since:
- 12.1.5
- See Also:
-
CROSS_ORIGIN_OPENER_POLICY
Cross-Origin-Opener-Policy (COOP) header. See https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policies- Since:
- 12.1.5
- See Also:
-
CROSS_ORIGIN_RESOURCE_POLICY
Cross-Origin-Resource-Policy (CORP) header. See https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header- Since:
- 12.1.5
- See Also:
-
ALT_SVC
Alt-Svc header (RFC 7838). Used to advertise alternative services.- Since:
- 12.1.5
- See Also:
-
PRIORITY
Priority header (RFC 9218). Used for HTTP extensible prioritization.- Since:
- 12.1.5
- See Also:
-
VALUE_ALLOW_FROM
- See Also:
-
VALUE_DENY
- See Also:
-
VALUE_INCLUDE_SUBDOMAINS
- See Also:
-
VALUE_NOSNIFF
- See Also:
-
VALUE_SAMEORIGIN
- See Also:
-