Package com.netflix.zuul.message.http
Class HttpHeaderNames
java.lang.Object
com.netflix.zuul.message.http.HttpHeaderNames
A cache of both constants for common HTTP header names, and custom added header names.
Primarily to be used as a performance optimization for avoiding repeatedly doing lower-casing and
case-insensitive comparisons of StringS.
User: Mike Smith
Date: 8/5/15
Time: 12:33 PM
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
static final HeaderName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HeaderName
Looks up the name in the cache, and if does not exist, then creates and adds a new one (up to the max cache size).
-
Field Details
-
COOKIE
-
SET_COOKIE
-
DATE
-
CONNECTION
-
KEEP_ALIVE
-
HOST
-
SERVER
-
VIA
-
USER_AGENT
-
REFERER
-
ORIGIN
-
LOCATION
-
UPGRADE
-
CONTENT_TYPE
-
CONTENT_LENGTH
-
CONTENT_ENCODING
-
ACCEPT
-
ACCEPT_ENCODING
-
ACCEPT_LANGUAGE
-
TRANSFER_ENCODING
-
TE
-
RANGE
-
ACCEPT_RANGES
-
ALLOW
-
VARY
-
LAST_MODIFIED
-
ETAG
-
EXPIRES
-
CACHE_CONTROL
-
EDGE_CONTROL
-
PRAGMA
-
X_FORWARDED_HOST
-
X_FORWARDED_FOR
-
X_FORWARDED_PORT
-
X_FORWARDED_PROTO
-
X_FORWARDED_PROTO_VERSION
-
ACCESS_CONTROL_ALLOW_ORIGIN
-
ACCESS_CONTROL_ALLOW_CREDENTIALS
-
ACCESS_CONTROL_ALLOW_HEADERS
-
ACCESS_CONTROL_ALLOW_METHODS
-
ACCESS_CONTROL_REQUEST_HEADERS
-
ACCESS_CONTROL_EXPOSE_HEADERS
-
ACCESS_CONTROL_MAX_AGE_HEADERS
-
STRICT_TRANSPORT_SECURITY
-
LINK
-
-
Constructor Details
-
HttpHeaderNames
public HttpHeaderNames()
-
-
Method Details
-
get
Looks up the name in the cache, and if does not exist, then creates and adds a new one (up to the max cache size).- Parameters:
name
-- Returns:
- HeaderName - never null.
-