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