public enum HttpMethodType extends Enum<HttpMethodType> implements Method
| Enum Constant and Description |
|---|
DELETE
Delete Http method
|
GET
Get Http method
|
HEAD
Head Http method
|
PATCH
Patch Http method
|
POST
Post Http method
|
PUT
Put Http method
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethodType GET
public static final HttpMethodType POST
public static final HttpMethodType PUT
public static final HttpMethodType PATCH
public static final HttpMethodType DELETE
public static final HttpMethodType HEAD
public static HttpMethodType[] values()
for (HttpMethodType c : HttpMethodType.values()) System.out.println(c);
public static HttpMethodType 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.