public enum HttpMethodEnum extends java.lang.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(java.lang.String name)
convert by name.
|
java.lang.String |
getName()
get name.
|
java.lang.Boolean |
getSupport()
get support.
|
static HttpMethodEnum |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.Boolean getSupport()
public static HttpMethodEnum acquireByName(java.lang.String name)
name - nameHttpMethodEnumCopyright © 2024 The Apache Software Foundation. All rights reserved.