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