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