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