@Deprecated public enum RouteParamType extends Enum<RouteParamType>
| Enum Constant and Description |
|---|
BODY
Deprecated.
HTTP body.
|
FILE
Deprecated.
File as part of a multipart-upload.
|
FORM
Deprecated.
HTTP form param submitted as formurlencoded or multipart.
|
HEADER
Deprecated.
HTTP header .
|
PATH
Deprecated.
HTTP param inside a path.
|
QUERY
Deprecated.
HTTP param inside a query.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteParamType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RouteParamType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteParamType QUERY
public static final RouteParamType PATH
public static final RouteParamType FORM
public static final RouteParamType BODY
public static final RouteParamType FILE
public static final RouteParamType HEADER
public static RouteParamType[] values()
for (RouteParamType c : RouteParamType.values()) System.out.println(c);
public static RouteParamType 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 © 2017. All rights reserved.