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