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