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