public static enum RouteArgument.ArgumentType extends Enum<RouteArgument.ArgumentType>
| Enum Constant and Description |
|---|
CALLER_IP |
COOKIE |
CUSTOM |
HEADER |
METHOD |
PATH |
QUERY |
| Modifier and Type | Method and Description |
|---|---|
static RouteArgument.ArgumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteArgument.ArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteArgument.ArgumentType CUSTOM
public static final RouteArgument.ArgumentType METHOD
public static final RouteArgument.ArgumentType HEADER
public static final RouteArgument.ArgumentType QUERY
public static final RouteArgument.ArgumentType COOKIE
public static final RouteArgument.ArgumentType PATH
public static final RouteArgument.ArgumentType CALLER_IP
public static RouteArgument.ArgumentType[] values()
for (RouteArgument.ArgumentType c : RouteArgument.ArgumentType.values()) System.out.println(c);
public static RouteArgument.ArgumentType 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 © 2023. All rights reserved.