Package org.infinispan.rest
Enum ResponseHeader
- java.lang.Object
-
- java.lang.Enum<ResponseHeader>
-
- org.infinispan.rest.ResponseHeader
-
- All Implemented Interfaces:
Serializable
,Comparable<ResponseHeader>
public enum ResponseHeader extends Enum<ResponseHeader>
- Since:
- 11.0
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static CharSequence[]
toArray()
static ResponseHeader
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResponseHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE_CONTROL_HEADER
public static final ResponseHeader CACHE_CONTROL_HEADER
-
CLUSTER_PRIMARY_OWNER_HEADER
public static final ResponseHeader CLUSTER_PRIMARY_OWNER_HEADER
-
CLUSTER_BACKUP_OWNERS_HEADER
public static final ResponseHeader CLUSTER_BACKUP_OWNERS_HEADER
-
CLUSTER_NODE_NAME_HEADER
public static final ResponseHeader CLUSTER_NODE_NAME_HEADER
-
CLUSTER_SERVER_ADDRESS_HEADER
public static final ResponseHeader CLUSTER_SERVER_ADDRESS_HEADER
-
CONTENT_LENGTH_HEADER
public static final ResponseHeader CONTENT_LENGTH_HEADER
-
CONTENT_TYPE_HEADER
public static final ResponseHeader CONTENT_TYPE_HEADER
-
CREATED_HEADER
public static final ResponseHeader CREATED_HEADER
-
DATE_HEADER
public static final ResponseHeader DATE_HEADER
-
ETAG_HEADER
public static final ResponseHeader ETAG_HEADER
-
EXPIRES_HEADER
public static final ResponseHeader EXPIRES_HEADER
-
KEY_CONTENT_TYPE_HEADER
public static final ResponseHeader KEY_CONTENT_TYPE_HEADER
-
LAST_MODIFIED_HEADER
public static final ResponseHeader LAST_MODIFIED_HEADER
-
LAST_USED_HEADER
public static final ResponseHeader LAST_USED_HEADER
-
LOCATION
public static final ResponseHeader LOCATION
-
MAX_IDLE_TIME_HEADER
public static final ResponseHeader MAX_IDLE_TIME_HEADER
-
TIME_TO_LIVE_HEADER
public static final ResponseHeader TIME_TO_LIVE_HEADER
-
TRANSFER_ENCODING
public static final ResponseHeader TRANSFER_ENCODING
-
VALUE_CONTENT_TYPE_HEADER
public static final ResponseHeader VALUE_CONTENT_TYPE_HEADER
-
WWW_AUTHENTICATE_HEADER
public static final ResponseHeader WWW_AUTHENTICATE_HEADER
-
-
Method Detail
-
values
public static ResponseHeader[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResponseHeader c : ResponseHeader.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResponseHeader valueOf(String name)
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
-
getValue
public String getValue()
-
toArray
public static CharSequence[] toArray()
-
-