public enum RouteType extends Enum<RouteType>
| Enum Constant and Description |
|---|
REQUEST |
RESOURCE_FILE |
RESOURCE_PATH |
SERVER_SENT_EVENT |
WEBSOCKET |
| Modifier and Type | Method and Description |
|---|---|
static RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteType REQUEST
public static final RouteType WEBSOCKET
public static final RouteType SERVER_SENT_EVENT
public static final RouteType RESOURCE_FILE
public static final RouteType RESOURCE_PATH
public static RouteType[] values()
for (RouteType c : RouteType.values()) System.out.println(c);
public static RouteType 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 © 2016. All rights reserved.