public enum RoutingResultType extends Enum<RoutingResultType>
RoutingResult.| Enum Constant and Description |
|---|
CORS_PREFLIGHT
|
MATCHED
A
Route matched a RoutingContext. |
NOT_MATCHED
A
Route did not match a RoutingContext. |
| Modifier and Type | Method and Description |
|---|---|
static RoutingResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoutingResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingResultType NOT_MATCHED
Route did not match a RoutingContext.public static final RoutingResultType MATCHED
Route matched a RoutingContext.public static final RoutingResultType CORS_PREFLIGHT
public static RoutingResultType[] values()
for (RoutingResultType c : RoutingResultType.values()) System.out.println(c);
public static RoutingResultType 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 © 2020 LeanCloud. All rights reserved.