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