public static enum HttpMethod.VERB extends Enum<HttpMethod.VERB>
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String method) |
static HttpMethod.VERB |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod.VERB[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethod.VERB GET
public static final HttpMethod.VERB POST
public static final HttpMethod.VERB PUT
public static final HttpMethod.VERB DELETE
public static final HttpMethod.VERB HEAD
public static final HttpMethod.VERB OPTIONS
public final String value
public static HttpMethod.VERB[] values()
for (HttpMethod.VERB c : HttpMethod.VERB.values()) System.out.println(c);
public static HttpMethod.VERB 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 nullpublic boolean matches(String method)
Copyright © 2012-2015. All Rights Reserved.