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