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