Method Summary
All Methods Static Methods Concrete Methods
static boolean
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Field Details
AUTHORIZATION
public static final String AUTHORIZATION
See Also:
CACHE_CONTROL
public static final String CACHE_CONTROL
See Also:
CONNECTION
public static final String CONNECTION
See Also:
CONTENT_LENGTH
public static final String CONTENT_LENGTH
See Also:
CONTENT_TYPE
public static final String CONTENT_TYPE
See Also:
COOKIE
public static final String COOKIE
See Also:
CROSS_ORIGIN_OPENER_POLICY
public static final String CROSS_ORIGIN_OPENER_POLICY
See Also:
STRICT_TRANSPORT_SECURITY
public static final String STRICT_TRANSPORT_SECURITY
See Also:
X_FRAME_OPTIONS
public static final String X_FRAME_OPTIONS
See Also:
X_XSS_PROTECTION
public static final String X_XSS_PROTECTION
See Also:
X_CONTENT_TYPE_OPTIONS
public static final String X_CONTENT_TYPE_OPTIONS
See Also:
REFERRER_POLICY
public static final String REFERRER_POLICY
See Also:
DATE
public static final String DATE
See Also:
ETAG
public static final String ETAG
See Also:
EXPIRES
public static final String EXPIRES
See Also:
HOST
public static final String HOST
See Also:
IF_NONE_MATCH
public static final String IF_NONE_MATCH
See Also:
LOCATION
public static final String LOCATION
See Also:
SET_COOKIE
public static final String SET_COOKIE
See Also:
USER_AGENT
public static final String USER_AGENT
See Also:
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
See Also:
ACCEPT_ENCODING
public static final String ACCEPT_ENCODING
See Also:
CONTENT_ENCODING
public static final String CONTENT_ENCODING
See Also:
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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 class has no constant with the specified name
NullPointerException - if the argument is null