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