public static enum Policy.HTTP_METHOD extends java.lang.Enum<Policy.HTTP_METHOD>
Enum Constant and Description |
---|
CONNECT |
DELETE |
GET |
HEAD |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static Policy.HTTP_METHOD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Policy.HTTP_METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy.HTTP_METHOD GET
public static final Policy.HTTP_METHOD HEAD
public static final Policy.HTTP_METHOD POST
public static final Policy.HTTP_METHOD PUT
public static final Policy.HTTP_METHOD DELETE
public static final Policy.HTTP_METHOD TRACE
public static final Policy.HTTP_METHOD CONNECT
public static Policy.HTTP_METHOD[] values()
for (Policy.HTTP_METHOD c : Policy.HTTP_METHOD.values()) System.out.println(c);
public static Policy.HTTP_METHOD valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null