public static enum Response.Header extends Enum<Response.Header>
| Enum Constant and Description |
|---|
ALLOW |
CACHE_CONTROL |
CONTENT_ENCODING |
CONTENT_LENGTH |
CONTENT_RANGE |
CONTENT_TYPE |
DATE |
DAV |
ETAG |
EXPIRES |
LAST_MODIFIED |
LOCATION |
LOCK_TOKEN |
WWW_AUTHENTICATE |
| Modifier and Type | Method and Description |
|---|---|
static Response.Header |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.Header CACHE_CONTROL
public static final Response.Header WWW_AUTHENTICATE
public static final Response.Header CONTENT_LENGTH
public static final Response.Header CONTENT_TYPE
public static final Response.Header CONTENT_ENCODING
public static final Response.Header LOCATION
public static final Response.Header ALLOW
public static final Response.Header DAV
public static final Response.Header DATE
public static final Response.Header LAST_MODIFIED
public static final Response.Header LOCK_TOKEN
public static final Response.Header EXPIRES
public static final Response.Header ETAG
public static final Response.Header CONTENT_RANGE
public String code
public static Response.Header[] values()
for (Response.Header c : Response.Header.values()) System.out.println(c);
public static Response.Header valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.