Package com.helger.commons.http
Class CHttpHeader
- java.lang.Object
-
- com.helger.commons.http.CHttpHeader
-
@Immutable public final class CHttpHeader extends Object
Predefined HTTP header names and values.- Author:
- Philip Helger
-
-
Field Summary
-
-
-
Field Detail
-
ACCEPT
public static final String ACCEPT
- See Also:
- Constant Field Values
-
ACCEPT_CHARSET
public static final String ACCEPT_CHARSET
- See Also:
- Constant Field Values
-
ACCEPT_ENCODING
public static final String ACCEPT_ENCODING
- See Also:
- Constant Field Values
-
ACCEPT_LANGUAGE
public static final String ACCEPT_LANGUAGE
- See Also:
- Constant Field Values
-
ACCEPT_PATCH
public static final String ACCEPT_PATCH
- See Also:
- Constant Field Values
-
AGE
public static final String AGE
- See Also:
- Constant Field Values
-
ALLOW
public static final String ALLOW
- See Also:
- Constant Field Values
-
CACHE_CONTROL
public static final String CACHE_CONTROL
- See Also:
- Constant Field Values
-
CONNECTION
public static final String CONNECTION
- See Also:
- Constant Field Values
-
CONTENT_DESCRIPTION
public static final String CONTENT_DESCRIPTION
- See Also:
- Constant Field Values
-
CONTENT_DISPOSITION
public static final String CONTENT_DISPOSITION
- See Also:
- Constant Field Values
-
CONTENT_ENCODING
public static final String CONTENT_ENCODING
- See Also:
- Constant Field Values
-
CONTENT_ID
public static final String CONTENT_ID
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
COOKIE
public static final String COOKIE
- See Also:
- Constant Field Values
-
DATE
public static final String DATE
- See Also:
- Constant Field Values
-
ETAG
public static final String ETAG
- See Also:
- Constant Field Values
-
EXPIRES
public static final String EXPIRES
- See Also:
- Constant Field Values
-
HOST
public static final String HOST
- See Also:
- Constant Field Values
-
IF_NON_MATCH
public static final String IF_NON_MATCH
- See Also:
- Constant Field Values
-
IF_MATCH
public static final String IF_MATCH
- See Also:
- Constant Field Values
-
IF_MODIFIED_SINCE
public static final String IF_MODIFIED_SINCE
- See Also:
- Constant Field Values
-
IF_UNMODIFIED_SINCE
public static final String IF_UNMODIFIED_SINCE
- See Also:
- Constant Field Values
-
LAST_MODIFIED
public static final String LAST_MODIFIED
- See Also:
- Constant Field Values
-
LOCATION
public static final String LOCATION
- See Also:
- Constant Field Values
-
PRAGMA
public static final String PRAGMA
- See Also:
- Constant Field Values
-
REFERER
public static final String REFERER
- See Also:
- Constant Field Values
-
USER_AGENT
public static final String USER_AGENT
- See Also:
- Constant Field Values
-
VARY
public static final String VARY
- See Also:
- Constant Field Values
-
WARNING
public static final String WARNING
- See Also:
- Constant Field Values
-
AUTHORIZATION
public static final String AUTHORIZATION
- See Also:
- Constant Field Values
-
PROXY_AUTHORIZATION
public static final String PROXY_AUTHORIZATION
- See Also:
- Constant Field Values
-
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
- See Also:
- Constant Field Values
-
STRICT_TRANSPORT_SECURITY
public static final String STRICT_TRANSPORT_SECURITY
https://www.owasp.org/index.php/HTTP_Strict_Transport_Security
e.g. "max-age=16070400; includeSubDomains"- See Also:
- Constant Field Values
-
X_FRAME_OPTIONS
public static final String X_FRAME_OPTIONS
https://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g. X-Frame-Options: deny- See Also:
- Constant Field Values
-
X_XSS_PROTECTION
public static final String X_XSS_PROTECTION
https://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g. X-XSS-Protection: 1; mode=block- See Also:
- Constant Field Values
-
X_CONTENT_TYPE_OPTIONS
public static final String X_CONTENT_TYPE_OPTIONS
https://www.owasp.org/index.php/List_of_useful_HTTP_headers
e.g. X-Content-Type-Options: nosniff- See Also:
- Constant Field Values
-
REFERRER_POLICY
public static final String REFERRER_POLICY
https://scotthelme.co.uk/a-new-security-header-referrer-policy/
E.g. Referrer-Policy: strict-origin- See Also:
- Constant Field Values
-
PROXY
public static final String PROXY
The "Proxy" header famous from the Httpoxy attack.
https://www.apache.org/security/asf-httpoxy-response.txt- See Also:
- Constant Field Values
-
RETRY_AFTER
public static final String RETRY_AFTER
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:
- Constant Field Values
-
DNT
public static final String DNT
- See Also:
- Constant Field Values
-
UA
public static final String UA
- See Also:
- Constant Field Values
-
X_DEVICE_USER_AGENT
public static final String X_DEVICE_USER_AGENT
- See Also:
- Constant Field Values
-
CONTENT_LANGUAGE
public static final String CONTENT_LANGUAGE
- See Also:
- Constant Field Values
-
CONTENT_SCRIPT_TYPE
public static final String CONTENT_SCRIPT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_STYLE_TYPE
public static final String CONTENT_STYLE_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_STYLE
public static final String DEFAULT_STYLE
- See Also:
- Constant Field Values
-
REFRESH
public static final String REFRESH
- See Also:
- Constant Field Values
-
WINDOW_TARGET
public static final String WINDOW_TARGET
- See Also:
- Constant Field Values
-
EXT_CACHE
public static final String EXT_CACHE
- See Also:
- Constant Field Values
-
PICS_LABEL
public static final String PICS_LABEL
- See Also:
- Constant Field Values
-
X_UA_COMPATIBLE
public static final String X_UA_COMPATIBLE
- See Also:
- Constant Field Values
-
CONTENT_LENGTH
public static final String CONTENT_LENGTH
- See Also:
- Constant Field Values
-
SET_COOKIE
public static final String SET_COOKIE
- See Also:
- Constant Field Values
-
TRANSFER_ENCODING
public static final String TRANSFER_ENCODING
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_HEADERS
public static final String ACCESS_CONTROL_ALLOW_HEADERS
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_METHODS
public static final String ACCESS_CONTROL_ALLOW_METHODS
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_ALLOW_ORIGIN
public static final String ACCESS_CONTROL_ALLOW_ORIGIN
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_EXPOSE_HEADERS
public static final String ACCESS_CONTROL_EXPOSE_HEADERS
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_MAX_AGE
public static final String ACCESS_CONTROL_MAX_AGE
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_METHOD
public static final String ACCESS_CONTROL_REQUEST_METHOD
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_REQUEST_HEADERS
public static final String ACCESS_CONTROL_REQUEST_HEADERS
- See Also:
- Constant Field Values
-
ORIGIN
public static final String ORIGIN
- See Also:
- Constant Field Values
-
CONTENT_SECURITY_POLICY
public static final String CONTENT_SECURITY_POLICY
- See Also:
- Constant Field Values
-
X_CONTENT_SECURITY_POLICY
public static final String X_CONTENT_SECURITY_POLICY
- See Also:
- Constant Field Values
-
X_WEBKIT_CSP
public static final String X_WEBKIT_CSP
- See Also:
- Constant Field Values
-
CONTENT_SECURITY_POLICY_REPORT_ONLY
public static final String CONTENT_SECURITY_POLICY_REPORT_ONLY
- See Also:
- Constant Field Values
-
X_CONTENT_SECURITY_POLICY_REPORT_ONLY
public static final String X_CONTENT_SECURITY_POLICY_REPORT_ONLY
- See Also:
- Constant Field Values
-
X_WAP_PROFILE
public static final String X_WAP_PROFILE
- See Also:
- Constant Field Values
-
PROFILE
public static final String PROFILE
- See Also:
- Constant Field Values
-
WAP_PROFILE
public static final String WAP_PROFILE
- See Also:
- Constant Field Values
-
MAN
public static final String MAN
- See Also:
- Constant Field Values
-
OPT
public static final String OPT
- See Also:
- Constant Field Values
-
X_WAP_PROFILE_DIFF
public static final String X_WAP_PROFILE_DIFF
- See Also:
- Constant Field Values
-
PROFILE_DIFF
public static final String PROFILE_DIFF
- See Also:
- Constant Field Values
-
WAP_PROFILE_DIFF
public static final String WAP_PROFILE_DIFF
- See Also:
- Constant Field Values
-
AS2_FROM
public static final String AS2_FROM
- See Also:
- Constant Field Values
-
AS2_TO
public static final String AS2_TO
- See Also:
- Constant Field Values
-
AS2_VERSION
public static final String AS2_VERSION
- See Also:
- Constant Field Values
-
CONTENT_TRANSFER_ENCODING
public static final String CONTENT_TRANSFER_ENCODING
- See Also:
- Constant Field Values
-
DISPOSITION_NOTIFICATION_OPTIONS
public static final String DISPOSITION_NOTIFICATION_OPTIONS
- See Also:
- Constant Field Values
-
DISPOSITION_NOTIFICATION_TO
public static final String DISPOSITION_NOTIFICATION_TO
The URL where the async MDN should be send to - limited to RFC 2822- See Also:
- Constant Field Values
-
FROM
public static final String FROM
- See Also:
- Constant Field Values
-
MESSAGE_ID
public static final String MESSAGE_ID
- See Also:
- Constant Field Values
-
MIME_VERSION
public static final String MIME_VERSION
- See Also:
- Constant Field Values
-
RECEIPT_DELIVERY_OPTION
public static final String RECEIPT_DELIVERY_OPTION
The URL where the async MDN should be send to- See Also:
- Constant Field Values
-
RECIPIENT_ADDRESS
public static final String RECIPIENT_ADDRESS
- See Also:
- Constant Field Values
-
SERVER
public static final String SERVER
- See Also:
- Constant Field Values
-
SUBJECT
public static final String SUBJECT
- See Also:
- Constant Field Values
-
EDIINT_FEATURES
public static final String EDIINT_FEATURES
Defined by RFC 6017- See Also:
- Constant Field Values
-
VALUE_ALLOW_FROM
public static final String VALUE_ALLOW_FROM
- See Also:
- Constant Field Values
-
VALUE_DENY
public static final String VALUE_DENY
- See Also:
- Constant Field Values
-
VALUE_INCLUDE_SUBDOMAINS
public static final String VALUE_INCLUDE_SUBDOMAINS
- See Also:
- Constant Field Values
-
VALUE_NOSNIFF
public static final String VALUE_NOSNIFF
- See Also:
- Constant Field Values
-
VALUE_SAMEORIGIN
public static final String VALUE_SAMEORIGIN
- See Also:
- Constant Field Values
-
-