public static enum Request.Header extends Enum<Request.Header>
| Enum Constant and Description |
|---|
ACCEPT |
ACCEPT_ENCODING |
AUTHORIZATION |
CACHE_CONTROL |
CONTENT_LENGTH |
CONTENT_RANGE |
CONTENT_TYPE |
DEPTH |
DESTINATION |
HOST |
IF |
IF_MODIFIED |
IF_NOT_MODIFIED |
LOCK_TOKEN |
REFERER |
TIMEOUT |
WWW_AUTHENTICATE |
| Modifier and Type | Method and Description |
|---|---|
static Request.Header |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Header CACHE_CONTROL
public static final Request.Header WWW_AUTHENTICATE
public static final Request.Header IF
public static final Request.Header IF_MODIFIED
public static final Request.Header IF_NOT_MODIFIED
public static final Request.Header CONTENT_LENGTH
public static final Request.Header CONTENT_TYPE
public static final Request.Header CONTENT_RANGE
public static final Request.Header DEPTH
public static final Request.Header HOST
public static final Request.Header DESTINATION
public static final Request.Header REFERER
public static final Request.Header ACCEPT
public static final Request.Header ACCEPT_ENCODING
public static final Request.Header TIMEOUT
public static final Request.Header LOCK_TOKEN
public static final Request.Header AUTHORIZATION
public String code
public static Request.Header[] values()
for (Request.Header c : Request.Header.values()) System.out.println(c);
public static Request.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.