public enum HttpMethodEnum extends Enum<HttpMethodEnum>
| Enum Constant and Description |
|---|
DELETE
Delete http method enum.
|
GET
Get http method enum.
|
POST
Post http method enum.
|
PUT
Put http method enum.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethodEnum |
acquireByName(String name)
convert by name.
|
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 final HttpMethodEnum PUT
public static final HttpMethodEnum DELETE
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 nullpublic static HttpMethodEnum acquireByName(String name)
name - nameHttpMethodEnumCopyright © 2021 The Apache Software Foundation. All rights reserved.