public static enum Request.Type extends java.lang.Enum<Request.Type>
Modifier and Type | Method and Description |
---|---|
static Request.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Request.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Type GET
public static final Request.Type HEAD
public static final Request.Type POST
public static final Request.Type PUT
public static final Request.Type DELETE
public static Request.Type[] values()
for (Request.Type c : Request.Type.values()) System.out.println(c);
public static Request.Type 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