Package com.aspectran.web.support.http
Interface HttpHeaders
public interface HttpHeaders
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The HTTPAccept
header field name.static final String
The HTTPAccept-Charset
header field name.static final String
The HTTPAccept-Encoding
header field name.static final String
The HTTPAccept-Language
header field name.static final String
The HTTPAccept-Ranges
header field name.static final String
The CORSAccess-Control-Allow-Credentials
response header field name.static final String
The CORSAccess-Control-Allow-Headers
response header field name.static final String
The CORSAccess-Control-Allow-Methods
response header field name.static final String
The CORSAccess-Control-Allow-Origin
response header field name.static final String
The CORSAccess-Control-Expose-Headers
response header field name.static final String
The CORSAccess-Control-Max-Age
response header field name.static final String
The CORSAccess-Control-Request-Headers
request header field name.static final String
The CORSAccess-Control-Request-Method
request header field name.static final String
The HTTPAge
header field name.static final String
The HTTPAllow
header field name.static final String
The HTTPAuthorization
header field name.static final String
The HTTPCache-Control
header field name.static final String
The HTTPConnection
header field name.static final String
The HTTPContent-Disposition
header field namestatic final String
The HTTPContent-Encoding
header field name.static final String
The HTTPContent-Language
header field name.static final String
The HTTPContent-Length
header field name.static final String
The HTTPContent-Location
header field name.static final String
The HTTPContent-Range
header field name.static final String
The HTTPContent-Type
header field name.static final String
The HTTPCookie
header field name.static final String
The HTTPDate
header field name.static final String
The HTTPETag
header field name.static final String
The HTTPExpect
header field name.static final String
The HTTPExpires
header field name.static final String
The HTTPFrom
header field name.static final String
The HTTPHost
header field name.static final String
The HTTPIf-Match
header field name.static final String
The HTTPIf-Modified-Since
header field name.static final String
The HTTPIf-None-Match
header field name.static final String
The HTTPIf-Range
header field name.static final String
The HTTPIf-Unmodified-Since
header field name.static final String
The HTTPLast-Modified
header field name.static final String
The HTTPLink
header field name.static final String
The HTTPLocation
header field name.static final String
The HTTPMax-Forwards
header field name.static final String
The HTTPOrigin
header field name.static final String
The HTTPPragma
header field name.static final String
The HTTPProxy-Authenticate
header field name.static final String
The HTTPProxy-Authorization
header field name.static final String
The HTTPRange
header field name.static final String
The HTTPReferer
header field name.static final String
The HTTPRetry-After
header field name.static final String
The HTTPServer
header field name.static final String
The HTTPSet-Cookie
header field name.static final String
The HTTPSet-Cookie2
header field name.static final String
The HTTPTE
header field name.static final String
The HTTPTrailer
header field name.static final String
The HTTPTransfer-Encoding
header field name.static final String
The HTTPUpgrade
header field name.static final String
The HTTPUser-Agent
header field name.static final String
The HTTPVary
header field name.static final String
The HTTPVia
header field name.static final String
The HTTPWarning
header field name.static final String
The HTTPWWW-Authenticate
header field name.static final String
The X-Forwarded-For (XFF) request header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through a proxy server.static final String
The X-Forwarded-Host (XFH) header is a de-facto standard header for identifying the original host requested by the client in the Host HTTP request header.static final String
Contains the original path that the client requested.static final String
The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.static final String
Some HTTP proxies do not support arbitrary HTTP methods or newer HTTP methods (such as PATCH).
-
Field Details
-
ACCEPT
The HTTPAccept
header field name. -
ACCEPT_CHARSET
The HTTPAccept-Charset
header field name. -
ACCEPT_ENCODING
The HTTPAccept-Encoding
header field name. -
ACCEPT_LANGUAGE
The HTTPAccept-Language
header field name. -
ACCEPT_RANGES
The HTTPAccept-Ranges
header field name. -
ACCESS_CONTROL_ALLOW_CREDENTIALS
The CORSAccess-Control-Allow-Credentials
response header field name.- See Also:
-
ACCESS_CONTROL_ALLOW_HEADERS
The CORSAccess-Control-Allow-Headers
response header field name.- See Also:
-
ACCESS_CONTROL_ALLOW_METHODS
The CORSAccess-Control-Allow-Methods
response header field name.- See Also:
-
ACCESS_CONTROL_ALLOW_ORIGIN
The CORSAccess-Control-Allow-Origin
response header field name.- See Also:
-
ACCESS_CONTROL_EXPOSE_HEADERS
The CORSAccess-Control-Expose-Headers
response header field name.- See Also:
-
ACCESS_CONTROL_MAX_AGE
The CORSAccess-Control-Max-Age
response header field name.- See Also:
-
ACCESS_CONTROL_REQUEST_HEADERS
The CORSAccess-Control-Request-Headers
request header field name.- See Also:
-
ACCESS_CONTROL_REQUEST_METHOD
The CORSAccess-Control-Request-Method
request header field name.- See Also:
-
AGE
The HTTPAge
header field name.- See Also:
-
ALLOW
The HTTPAllow
header field name. -
AUTHORIZATION
The HTTPAuthorization
header field name.- See Also:
-
CACHE_CONTROL
The HTTPCache-Control
header field name.- See Also:
-
CONNECTION
The HTTPConnection
header field name.- See Also:
-
CONTENT_ENCODING
The HTTPContent-Encoding
header field name. -
CONTENT_DISPOSITION
The HTTPContent-Disposition
header field name- See Also:
-
CONTENT_LANGUAGE
The HTTPContent-Language
header field name. -
CONTENT_LENGTH
The HTTPContent-Length
header field name. -
CONTENT_LOCATION
The HTTPContent-Location
header field name. -
CONTENT_RANGE
The HTTPContent-Range
header field name.- See Also:
-
CONTENT_TYPE
The HTTPContent-Type
header field name. -
COOKIE
The HTTPCookie
header field name. -
DATE
The HTTPDate
header field name. -
ETAG
The HTTPETag
header field name.- See Also:
-
EXPECT
The HTTPExpect
header field name. -
EXPIRES
The HTTPExpires
header field name.- See Also:
-
FROM
The HTTPFrom
header field name. -
HOST
The HTTPHost
header field name.- See Also:
-
IF_MATCH
The HTTPIf-Match
header field name.- See Also:
-
IF_MODIFIED_SINCE
The HTTPIf-Modified-Since
header field name.- See Also:
-
IF_NONE_MATCH
The HTTPIf-None-Match
header field name.- See Also:
-
IF_RANGE
The HTTPIf-Range
header field name.- See Also:
-
IF_UNMODIFIED_SINCE
The HTTPIf-Unmodified-Since
header field name.- See Also:
-
LAST_MODIFIED
The HTTPLast-Modified
header field name.- See Also:
-
LINK
The HTTPLink
header field name.- See Also:
-
LOCATION
The HTTPLocation
header field name. -
MAX_FORWARDS
The HTTPMax-Forwards
header field name. -
ORIGIN
The HTTPOrigin
header field name.- See Also:
-
PRAGMA
The HTTPPragma
header field name.- See Also:
-
PROXY_AUTHENTICATE
The HTTPProxy-Authenticate
header field name.- See Also:
-
PROXY_AUTHORIZATION
The HTTPProxy-Authorization
header field name.- See Also:
-
RANGE
The HTTPRange
header field name.- See Also:
-
REFERER
The HTTPReferer
header field name. -
RETRY_AFTER
The HTTPRetry-After
header field name. -
SERVER
The HTTPServer
header field name. -
SET_COOKIE
The HTTPSet-Cookie
header field name. -
SET_COOKIE2
The HTTPSet-Cookie2
header field name.- See Also:
-
TE
The HTTPTE
header field name.- See Also:
-
TRAILER
The HTTPTrailer
header field name.- See Also:
-
TRANSFER_ENCODING
The HTTPTransfer-Encoding
header field name. -
UPGRADE
The HTTPUpgrade
header field name.- See Also:
-
USER_AGENT
The HTTPUser-Agent
header field name. -
VARY
The HTTPVary
header field name. -
VIA
The HTTPVia
header field name. -
WARNING
The HTTPWarning
header field name.- See Also:
-
WWW_AUTHENTICATE
The HTTPWWW-Authenticate
header field name.- See Also:
-
X_METHOD_OVERRIDE
Some HTTP proxies do not support arbitrary HTTP methods or newer HTTP methods (such as PATCH). In that case it’s possible to “proxy” HTTP methods through another HTTP method in total violation of the protocol. The way this works is by letting the client do an HTTP POST request and set the X-HTTP-Method-Override header and set the value to the intended HTTP method (such as PATCH).Web infrastructure and solutions providers have proposed to use customized HTTP header fields:
X-HTTP-Method-Override (Google/GData) X-HTTP-Method (Microsoft) X-METHOD-OVERRIDE (IBM) X-Method-Override (Aspectran)
- See Also:
-
X_FORWARDED_FOR
The X-Forwarded-For (XFF) request header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through a proxy server.- See Also:
-
X_FORWARDED_HOST
The X-Forwarded-Host (XFH) header is a de-facto standard header for identifying the original host requested by the client in the Host HTTP request header.- See Also:
-
X_FORWARDED_PROTO
The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.- See Also:
-
X_FORWARDED_PATH
Contains the original path that the client requested.- See Also:
-