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