Package com.linecorp.armeria.common
Class HttpHeaderNames
java.lang.Object
com.linecorp.armeria.common.HttpHeaderNames
Contains constant definitions for the HTTP header field names.
All header names in this class are defined in lowercase to support HTTP/2 requirements while also not violating HTTP/1 requirements.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AsciiString
The HTTP"Accept"
header field name.static final AsciiString
The HTTPAccept-CH
header field name.static final AsciiString
The HTTP"Accept-Charset"
header field name.static final AsciiString
The HTTP"Accept-Encoding"
header field name.static final AsciiString
The HTTP"Accept-Language"
header field name.static final AsciiString
The HTTP"Accept-Patch"
header field name.static final AsciiString
The HTTP"Accept-Ranges"
header field name.static final AsciiString
The HTTP"Access-Control-Allow-Credentials"
header field name.static final AsciiString
The HTTP"Access-Control-Allow-Headers"
header field name.static final AsciiString
The HTTP"Access-Control-Allow-Methods"
header field name.static final AsciiString
The HTTP"Access-Control-Allow-Origin"
header field name.static final AsciiString
The HTTPAccess-Control-Allow-Private-Network
header field name.static final AsciiString
The HTTP"Access-Control-Expose-Headers"
header field name.static final AsciiString
The HTTP"Access-Control-Max-Age"
header field name.static final AsciiString
The HTTP"Access-Control-Request-Headers"
header field name.static final AsciiString
The HTTP"Access-Control-Request-Method"
header field name.static final AsciiString
The HTTP"Age"
header field name.static final AsciiString
The HTTP"Allow"
header field name.static final AsciiString
The HTTP":authority"
pseudo header field name.static final AsciiString
The HTTP"Authorization"
header field name.static final AsciiString
The HTTP"Cache-Control"
header field name.static final AsciiString
The HTTPCDN-Loop
header field name.static final AsciiString
The HTTP"Connection"
header field name.static final AsciiString
The HTTP"Content-Base"
header field name.static final AsciiString
The HTTP/MIME"Content-Description"
header field name.static final AsciiString
The HTTP/MIME"Content-Disposition"
header field name.static final AsciiString
The HTTP"Content-Encoding"
header field name.static final AsciiString
The HTTP/MIME"Content-ID"
header field name.static final AsciiString
The HTTP"Content-Language"
header field name.static final AsciiString
The HTTP"Content-Length"
header field name.static final AsciiString
The HTTP"Content-Location"
header field name.static final AsciiString
The HTTP"Content-MD5"
header field name.static final AsciiString
The HTTP"Content-Range"
header field name.static final AsciiString
The HTTPContent-Security-Policy
header field name.static final AsciiString
The HTTP"Content-Security-Policy-Report-Only"
header field name.static final AsciiString
The HTTP/MIME"Content-Transfer-Encoding"
header field name.static final AsciiString
The HTTP"Content-Type"
header field name.static final AsciiString
The HTTP"Cookie"
header field name.static final AsciiString
The HTTPCritical-CH
header field name.static final AsciiString
The HTTPCross-Origin-Embedder-Policy
header field name.static final AsciiString
The HTTPCross-Origin-Embedder-Policy-Report-Only
header field name.static final AsciiString
The HTTP Cross-Origin-Opener-Policy header field name.static final AsciiString
The HTTPCross-Origin-Resource-Policy
header field name.static final AsciiString
The HTTP"Date"
header field name.static final AsciiString
The HTTPDevice-Memory
header field name.static final AsciiString
The HTTP"DNT"
header field name.static final AsciiString
The HTTPDownlink
header field name.static final AsciiString
The HTTP"Early-Data"
header field name.static final AsciiString
The HTTPECT
header field name.static final AsciiString
The HTTP"ETag"
header field name.static final AsciiString
The HTTP"Expect"
header field name.static final AsciiString
The HTTP"Expires"
header field name.static final AsciiString
The HTTP"Follow-Only-When-Prerender-Shown"
header field name.static final AsciiString
The HTTP"Forwarded"
header field name.static final AsciiString
The HTTP"From"
header field name.static final AsciiString
The HTTP"Host"
header field name.static final AsciiString
The HTTP"HTTP2-Settings"
header field name.static final AsciiString
The HTTP"If-Match"
header field name.static final AsciiString
The HTTP"If-Modified-Since"
header field name.static final AsciiString
The HTTP"If-None-Match"
header field name.static final AsciiString
The HTTP"If-Range"
header field name.static final AsciiString
The HTTP"If-Unmodified-Since"
header field name.static final AsciiString
The HTTPKeep-Alive
header field name.static final AsciiString
The HTTP"Last-Event-ID"
header field name.static final AsciiString
The HTTP"Last-Modified"
header field name.static final AsciiString
The HTTP"Link"
header field name.static final AsciiString
The HTTP"Location"
header field name.static final AsciiString
The HTTP"Max-Forwards"
header field name.static final AsciiString
The HTTP":method"
pseudo header field name.static final AsciiString
The HTTP"Origin"
header field name.static final AsciiString
The HTTPOrigin-Isolation
header field name.static final AsciiString
The HTTP"Origin-Trial"
header field name.static final AsciiString
The HTTP"P3P"
header field name.static final AsciiString
The HTTP":path"
pseudo header field name.static final AsciiString
The HTTPPermissions-Policy
header field name.static final AsciiString
The HTTP"Ping-From"
header field name.static final AsciiString
The HTTP"Ping-To"
header field name.static final AsciiString
The HTTP"Pragma"
header field name.static final AsciiString
The HTTP"Prefer"
header field name.static final AsciiString
The HTTP":protocol"
pseudo header field name.static final AsciiString
The HTTP"Proxy-Authenticate"
header field name.static final AsciiString
The HTTP"Proxy-Authorization"
header field name.static final AsciiString
The HTTPPublic-Key-Pins
header field name.static final AsciiString
The HTTPPublic-Key-Pins-Report-Only
header field name.static final AsciiString
The HTTPPurpose
header field name.static final AsciiString
The HTTP"Range"
header field name.static final AsciiString
The HTTP"Referer"
header field name.static final AsciiString
The HTTP"Referrer-Policy"
header field name.static final AsciiString
The HTTP"Refresh"
header field name.static final AsciiString
The HTTP"Report-To"
header field name.static final AsciiString
The HTTP"Retry-After"
header field name.static final AsciiString
The HTTPRTT
header field name.static final AsciiString
The HTTPSave-Data
header field name.static final AsciiString
The HTTP":scheme"
pseudo header field name.static final AsciiString
The HTTPSec-CH-UA
header field name.static final AsciiString
The HTTPSec-CH-UA-Arch
header field name.static final AsciiString
The HTTPSec-CH-UA-Bitness
header field name.static final AsciiString
The HTTPSec-CH-UA-Full-Version
header field name.static final AsciiString
The HTTPSec-CH-UA-Full-Version
header field name.static final AsciiString
The HTTPSec-CH-UA-Mobile
header field name.static final AsciiString
The HTTPSec-CH-UA-Model
header field name.static final AsciiString
The HTTPSec-CH-UA-Platform
header field name.static final AsciiString
The HTTPSec-CH-UA-Platform-Version
header field name.static final AsciiString
The HTTPSec-Fetch-Dest
header field name.static final AsciiString
The HTTPSec-Fetch-Mode
header field name.static final AsciiString
The HTTPSec-Fetch-Site
header field name.static final AsciiString
The HTTPSec-Fetch-User
header field name.static final AsciiString
The HTTPSec-Metadata
header field name.static final AsciiString
The HTTPSec-Provided-Token-Binding-ID
header field name.static final AsciiString
The HTTPSec-Referred-Token-Binding-ID
header field name.static final AsciiString
The HTTPSec-Token-Binding
header field name.static final AsciiString
The HTTPSec-WebSocket-Accept
header field name.static final AsciiString
The HTTPSec-WebSocket-Extensions
header field name.static final AsciiString
The HTTPSec-WebSocket-Key
header field name.static final AsciiString
The HTTPSec-WebSocket-Protocol
header field name.static final AsciiString
The HTTPSec-WebSocket-Version
header field name.static final AsciiString
The HTTP"Server"
header field name.static final AsciiString
The HTTP"Server-Timing"
header field name.static final AsciiString
The HTTPService-Worker
header field name.static final AsciiString
The HTTPService-Worker-Allowed
header field name.static final AsciiString
The HTTP"Set-Cookie"
header field name.static final AsciiString
The HTTP"Set-Cookie2"
header field name.static final AsciiString
The HTTP"SourceMap"
header field name.static final AsciiString
The HTTP":status"
pseudo header field name.static final AsciiString
The HTTPStrict-Transport-Security
header field name.static final AsciiString
The HTTP"TE"
header field name.static final AsciiString
The HTTPTiming-Allow-Origin
header field name.static final AsciiString
The HTTP"Trailer"
header field name.static final AsciiString
The HTTP"Transfer-Encoding"
header field name.static final AsciiString
The HTTP"Upgrade"
header field name.static final AsciiString
The HTTPUpgrade-Insecure-Requests
header field name.static final AsciiString
The HTTP"User-Agent"
header field name.static final AsciiString
The HTTP"Vary"
header field name.static final AsciiString
The HTTP"Via"
header field name.static final AsciiString
The HTTPViewport-Width
header field name.static final AsciiString
The HTTP"Warning"
header field name.static final AsciiString
The HTTPWidth
header field name.static final AsciiString
The HTTP"WWW-Authenticate"
header field name.static final AsciiString
The HTTP"X-Content-Type-Options"
header field name.static final AsciiString
The HTTPX-Device-Accept-Language
header field name.static final AsciiString
The HTTPX-Device-IP
header field name.static final AsciiString
The HTTPX-Device-Referer
header field name.static final AsciiString
The HTTPX-Device-Requested-With
header field name.static final AsciiString
The HTTPX-DNS-Prefetch-Control
header controls DNS prefetch behavior.static final AsciiString
The HTTP"X-Do-Not-Track"
header field name.static final AsciiString
The HTTP"X-Download-Options"
header field name.static final AsciiString
The HTTP"X-Forwarded-For"
header field name (superseded by"Forwarded"
).static final AsciiString
The HTTP"X-Forwarded-Host"
header field name.static final AsciiString
The HTTP"X-Forwarded-Port"
header field name.static final AsciiString
The HTTP"X-Forwarded-Proto"
header field name.static final AsciiString
The HTTP"X-Frame-Options"
header field name.static final AsciiString
The HTTPX-Moz
header field name.static final AsciiString
The HTTP"X-Powered-By"
header field name.static final AsciiString
The HTTPX-Purpose
header field name.static final AsciiString
The HTTPX-Request-ID
header field name.static final AsciiString
The HTTP"X-Requested-With"
header field name.static final AsciiString
The HTTP"X-User-IP"
header field name.static final AsciiString
The HTTP"X-XSS-Protection"
header field name. -
Method Summary
Modifier and TypeMethodDescriptionstatic AsciiString
of
(AsciiString name) Lower-cases and converts the specified header name into anAsciiString
.static AsciiString
of
(CharSequence name) Lower-cases and converts the specified header name into anAsciiString
.
-
Field Details
-
METHOD
The HTTP":method"
pseudo header field name. -
SCHEME
The HTTP":scheme"
pseudo header field name. -
AUTHORITY
The HTTP":authority"
pseudo header field name. -
PATH
The HTTP":path"
pseudo header field name. -
STATUS
The HTTP":status"
pseudo header field name. -
PROTOCOL
The HTTP":protocol"
pseudo header field name. -
CACHE_CONTROL
The HTTP"Cache-Control"
header field name. -
CONTENT_LENGTH
The HTTP"Content-Length"
header field name. -
CONTENT_TYPE
The HTTP"Content-Type"
header field name. -
DATE
The HTTP"Date"
header field name. -
PRAGMA
The HTTP"Pragma"
header field name. -
VIA
The HTTP"Via"
header field name. -
WARNING
The HTTP"Warning"
header field name. -
ACCEPT
The HTTP"Accept"
header field name. -
ACCEPT_CHARSET
The HTTP"Accept-Charset"
header field name. -
ACCEPT_ENCODING
The HTTP"Accept-Encoding"
header field name. -
ACCEPT_LANGUAGE
The HTTP"Accept-Language"
header field name. -
ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
The HTTPAccess-Control-Allow-Private-Network
header field name. -
ACCESS_CONTROL_REQUEST_HEADERS
The HTTP"Access-Control-Request-Headers"
header field name. -
ACCESS_CONTROL_REQUEST_METHOD
The HTTP"Access-Control-Request-Method"
header field name. -
AUTHORIZATION
The HTTP"Authorization"
header field name. -
CONNECTION
The HTTP"Connection"
header field name. -
COOKIE
The HTTP"Cookie"
header field name. -
CROSS_ORIGIN_RESOURCE_POLICY
The HTTPCross-Origin-Resource-Policy
header field name. -
EARLY_DATA
The HTTP"Early-Data"
header field name. -
EXPECT
The HTTP"Expect"
header field name. -
FROM
The HTTP"From"
header field name. -
FORWARDED
The HTTP"Forwarded"
header field name. -
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
The HTTP"Follow-Only-When-Prerender-Shown"
header field name. -
HOST
The HTTP"Host"
header field name. -
HTTP2_SETTINGS
The HTTP"HTTP2-Settings"
header field name. -
IF_MATCH
The HTTP"If-Match"
header field name. -
IF_MODIFIED_SINCE
The HTTP"If-Modified-Since"
header field name. -
IF_NONE_MATCH
The HTTP"If-None-Match"
header field name. -
IF_RANGE
The HTTP"If-Range"
header field name. -
IF_UNMODIFIED_SINCE
The HTTP"If-Unmodified-Since"
header field name. -
LAST_EVENT_ID
The HTTP"Last-Event-ID"
header field name. -
MAX_FORWARDS
The HTTP"Max-Forwards"
header field name. -
ORIGIN
The HTTP"Origin"
header field name. -
ORIGIN_ISOLATION
The HTTPOrigin-Isolation
header field name. -
PREFER
The HTTP"Prefer"
header field name. -
PROXY_AUTHORIZATION
The HTTP"Proxy-Authorization"
header field name. -
RANGE
The HTTP"Range"
header field name. -
REFERER
The HTTP"Referer"
header field name. -
REFERRER_POLICY
The HTTP"Referrer-Policy"
header field name. -
SERVICE_WORKER
The HTTPService-Worker
header field name. -
TE
The HTTP"TE"
header field name. -
UPGRADE
The HTTP"Upgrade"
header field name. -
UPGRADE_INSECURE_REQUESTS
The HTTPUpgrade-Insecure-Requests
header field name. -
USER_AGENT
The HTTP"User-Agent"
header field name. -
ACCEPT_RANGES
The HTTP"Accept-Ranges"
header field name. -
ACCEPT_PATCH
The HTTP"Accept-Patch"
header field name. -
ACCESS_CONTROL_ALLOW_HEADERS
The HTTP"Access-Control-Allow-Headers"
header field name. -
ACCESS_CONTROL_ALLOW_METHODS
The HTTP"Access-Control-Allow-Methods"
header field name. -
ACCESS_CONTROL_ALLOW_ORIGIN
The HTTP"Access-Control-Allow-Origin"
header field name. -
ACCESS_CONTROL_ALLOW_CREDENTIALS
The HTTP"Access-Control-Allow-Credentials"
header field name. -
ACCESS_CONTROL_EXPOSE_HEADERS
The HTTP"Access-Control-Expose-Headers"
header field name. -
ACCESS_CONTROL_MAX_AGE
The HTTP"Access-Control-Max-Age"
header field name. -
AGE
The HTTP"Age"
header field name. -
ALLOW
The HTTP"Allow"
header field name. -
CONTENT_BASE
The HTTP"Content-Base"
header field name. -
CONTENT_DESCRIPTION
The HTTP/MIME"Content-Description"
header field name. As described in RFC 1521: MIME Part One: Optional Content-Description Header Field -
CONTENT_DISPOSITION
The HTTP/MIME"Content-Disposition"
header field name. As described in RFC 2183: Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field -
CONTENT_ENCODING
The HTTP"Content-Encoding"
header field name. -
CONTENT_ID
The HTTP/MIME"Content-ID"
header field name. As described in RFC 1521: MIME Part One: Optional Content-ID Header Field -
CONTENT_LANGUAGE
The HTTP"Content-Language"
header field name. -
CONTENT_LOCATION
The HTTP"Content-Location"
header field name. -
CONTENT_MD5
The HTTP"Content-MD5"
header field name. -
CONTENT_RANGE
The HTTP"Content-Range"
header field name. -
CONTENT_SECURITY_POLICY
The HTTPContent-Security-Policy
header field name. -
CONTENT_SECURITY_POLICY_REPORT_ONLY
The HTTP"Content-Security-Policy-Report-Only"
header field name. -
CONTENT_TRANSFER_ENCODING
The HTTP/MIME"Content-Transfer-Encoding"
header field name. As described in RFC 1521: MIME Part One: The Content-Transfer-Encoding Header Field -
CROSS_ORIGIN_EMBEDDER_POLICY
The HTTPCross-Origin-Embedder-Policy
header field name. -
CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY
The HTTPCross-Origin-Embedder-Policy-Report-Only
header field name. -
CROSS_ORIGIN_OPENER_POLICY
The HTTP Cross-Origin-Opener-Policy header field name. -
ETAG
The HTTP"ETag"
header field name. -
EXPIRES
The HTTP"Expires"
header field name. -
LAST_MODIFIED
The HTTP"Last-Modified"
header field name. -
LINK
The HTTP"Link"
header field name. -
LOCATION
The HTTP"Location"
header field name. -
KEEP_ALIVE
The HTTPKeep-Alive
header field name. -
ORIGIN_TRIAL
The HTTP"Origin-Trial"
header field name. -
P3P
The HTTP"P3P"
header field name. Limited browser support. -
PROXY_AUTHENTICATE
The HTTP"Proxy-Authenticate"
header field name. -
REFRESH
The HTTP"Refresh"
header field name. Non-standard header supported by most browsers. -
REPORT_TO
The HTTP"Report-To"
header field name. -
RETRY_AFTER
The HTTP"Retry-After"
header field name. -
SERVER
The HTTP"Server"
header field name. -
SERVER_TIMING
The HTTP"Server-Timing"
header field name. -
SERVICE_WORKER_ALLOWED
The HTTPService-Worker-Allowed
header field name. -
SET_COOKIE
The HTTP"Set-Cookie"
header field name. -
SET_COOKIE2
The HTTP"Set-Cookie2"
header field name. -
SOURCE_MAP
The HTTP"SourceMap"
header field name. -
STRICT_TRANSPORT_SECURITY
The HTTPStrict-Transport-Security
header field name. -
TIMING_ALLOW_ORIGIN
The HTTPTiming-Allow-Origin
header field name. -
TRAILER
The HTTP"Trailer"
header field name. -
TRANSFER_ENCODING
The HTTP"Transfer-Encoding"
header field name. -
VARY
The HTTP"Vary"
header field name. -
WWW_AUTHENTICATE
The HTTP"WWW-Authenticate"
header field name. -
DNT
The HTTP"DNT"
header field name. -
X_CONTENT_TYPE_OPTIONS
The HTTP"X-Content-Type-Options"
header field name. -
X_DEVICE_IP
The HTTPX-Device-IP
header field name. Header used for VAST requests to provide the IP address of the device on whose behalf the request is being made. -
X_DEVICE_REFERER
The HTTPX-Device-Referer
header field name. Header used for VAST requests to provide theREFERER
header value that the on-behalf-of client would have used when making a request itself. -
X_DEVICE_ACCEPT_LANGUAGE
The HTTPX-Device-Accept-Language
header field name. Header used for VAST requests to provide theACCEPT_LANGUAGE
header value that the on-behalf-of client would have used when making a request itself. -
X_DEVICE_REQUESTED_WITH
The HTTPX-Device-Requested-With
header field name. Header used for VAST requests to provide theX_REQUESTED_WITH
header value that the on-behalf-of client would have used when making a request itself. -
X_DO_NOT_TRACK
The HTTP"X-Do-Not-Track"
header field name. -
X_FORWARDED_FOR
The HTTP"X-Forwarded-For"
header field name (superseded by"Forwarded"
). -
X_FORWARDED_PROTO
The HTTP"X-Forwarded-Proto"
header field name. -
X_FORWARDED_HOST
The HTTP"X-Forwarded-Host"
header field name. -
X_FORWARDED_PORT
The HTTP"X-Forwarded-Port"
header field name. -
X_FRAME_OPTIONS
The HTTP"X-Frame-Options"
header field name. -
X_POWERED_BY
The HTTP"X-Powered-By"
header field name. -
PUBLIC_KEY_PINS
The HTTPPublic-Key-Pins
header field name. -
PUBLIC_KEY_PINS_REPORT_ONLY
The HTTPPublic-Key-Pins-Report-Only
header field name. -
X_REQUEST_ID
The HTTPX-Request-ID
header field name. -
X_REQUESTED_WITH
The HTTP"X-Requested-With"
header field name. -
X_USER_IP
The HTTP"X-User-IP"
header field name. -
X_DOWNLOAD_OPTIONS
The HTTP"X-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. -
X_XSS_PROTECTION
The HTTP"X-XSS-Protection"
header field name. -
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. -
PING_FROM
The HTTP"Ping-From"
header field name. -
PING_TO
The HTTP"Ping-To"
header field name. -
PURPOSE
The HTTPPurpose
header field name. -
X_PURPOSE
The HTTPX-Purpose
header field name. -
X_MOZ
The HTTPX-Moz
header field name. -
DEVICE_MEMORY
The HTTPDevice-Memory
header field name. -
DOWNLINK
The HTTPDownlink
header field name. -
ECT
The HTTPECT
header field name. -
RTT
The HTTPRTT
header field name. -
SAVE_DATA
The HTTPSave-Data
header field name. -
VIEWPORT_WIDTH
The HTTPViewport-Width
header field name. -
WIDTH
The HTTPWidth
header field name. -
PERMISSIONS_POLICY
The HTTPPermissions-Policy
header field name. -
ACCEPT_CH
The HTTPAccept-CH
header field name. -
CRITICAL_CH
The HTTPCritical-CH
header field name. -
SEC_CH_UA
The HTTPSec-CH-UA
header field name. -
SEC_CH_UA_ARCH
The HTTPSec-CH-UA-Arch
header field name. -
SEC_CH_UA_MODEL
The HTTPSec-CH-UA-Model
header field name. -
SEC_CH_UA_PLATFORM
The HTTPSec-CH-UA-Platform
header field name. -
SEC_CH_UA_PLATFORM_VERSION
The HTTPSec-CH-UA-Platform-Version
header field name. -
SEC_CH_UA_FULL_VERSION
The HTTPSec-CH-UA-Full-Version
header field name. -
SEC_CH_UA_FULL_VERSION_LIST
The HTTPSec-CH-UA-Full-Version
header field name. -
SEC_CH_UA_MOBILE
The HTTPSec-CH-UA-Mobile
header field name. -
SEC_CH_UA_BITNESS
The HTTPSec-CH-UA-Bitness
header field name. -
SEC_FETCH_DEST
The HTTPSec-Fetch-Dest
header field name. -
SEC_FETCH_MODE
The HTTPSec-Fetch-Mode
header field name. -
SEC_FETCH_SITE
The HTTPSec-Fetch-Site
header field name. -
SEC_FETCH_USER
The HTTPSec-Fetch-User
header field name. -
SEC_METADATA
The HTTPSec-Metadata
header field name. -
SEC_TOKEN_BINDING
The HTTPSec-Token-Binding
header field name. -
SEC_PROVIDED_TOKEN_BINDING_ID
The HTTPSec-Provided-Token-Binding-ID
header field name. -
SEC_REFERRED_TOKEN_BINDING_ID
The HTTPSec-Referred-Token-Binding-ID
header field name. -
SEC_WEBSOCKET_ACCEPT
The HTTPSec-WebSocket-Accept
header field name. -
SEC_WEBSOCKET_EXTENSIONS
The HTTPSec-WebSocket-Extensions
header field name. -
SEC_WEBSOCKET_KEY
The HTTPSec-WebSocket-Key
header field name. -
SEC_WEBSOCKET_PROTOCOL
The HTTPSec-WebSocket-Protocol
header field name. -
SEC_WEBSOCKET_VERSION
The HTTPSec-WebSocket-Version
header field name. -
CDN_LOOP
The HTTPCDN-Loop
header field name.
-
-
Method Details
-
of
Lower-cases and converts the specified header name into anAsciiString
. If"name"
is a known header name, this method will return a pre-instantiatedAsciiString
to reduce the allocation rate ofAsciiString
.- Throws:
IllegalArgumentException
- if the specifiedname
is not a valid header name.
-
of
Lower-cases and converts the specified header name into anAsciiString
. If"name"
is a known header name, this method will return a pre-instantiatedAsciiString
to reduce the allocation rate ofAsciiString
.- Throws:
IllegalArgumentException
- if the specifiedname
is not a valid header name.
-