Package net.aifusion.cimserver
Enum HttpHeader
- All Implemented Interfaces:
Serializable
,Comparable<HttpHeader>
,java.lang.constant.Constable
Predefined Http Headers. These have the same meaning as standard HTTP headers (RFC 2616), but not all are used (or understood) by the current implementation.
- Author:
- Sharad Singhal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpHeader
Get the header corresponding to a headerValuetoString()
static HttpHeader
Returns the enum constant of this type with the specified name.static HttpHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ACCEPT
-
ACCEPT_CHARSET
-
ACCEPT_ENCODING
-
ACCEPT_LANGUAGE
-
AUTHORIZATION
-
EXPECT
-
FROM
-
HOST
-
IF_MATCH
-
IF_MODIFIED_SINCE
-
IF_NONE_MATCH
-
IF_RANGE
-
IF_UNMODIFIED_SINCE
-
MAX_FORWARDS
-
PROXY_AUTHORIZATION
-
RANGE
-
REFERRER
-
TE
-
USER_AGENT
-
AGE
-
ETAG
-
LOCATION
-
PROXY_AUTHENTICATE
-
RETRY_AFTER
-
SERVER
-
VARY
-
WWW_AUTHENTICATE
-
ALLOW
-
CONTENT_ENCODING
-
CONTENT_LANGUAGE
-
CONTENT_LENGTH
-
CONTENT_LOCATION
-
CONTENT_TYPE
-
EXPIRES
-
LAST_MODIFIED
-
COOKIE
-
DATE
-
ACCEPT_RANGES
-
CACHE_CONTROL
-
CONNECTION
-
MIME_VERSION
-
PRAGMA
-
SET_COOKIE
-
TRANSFER_ENCODING
-
UPGRADE
-
WARNING
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
lookup
Get the header corresponding to a headerValue- Parameters:
headerValue
- - value to test- Returns:
- corresponding header value. Null if this headerValue is not defined
-
toString
- Overrides:
toString
in classEnum<HttpHeader>
-