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