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