public static enum Constants.Status extends Enum<Constants.Status>
| Enum Constant and Description |
|---|
ERROR
Error while routing (or general error).
|
INVALID_REQUEST
Problems occurred when routing request parameters were parsed -
neither request nor routes are available.
|
OK
Everything OK, route(s) are available.
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Status OK
public static final Constants.Status INVALID_REQUEST
public static final Constants.Status ERROR
public static Constants.Status[] values()
for (Constants.Status c : Constants.Status.values()) System.out.println(c);
public static Constants.Status 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 © 2018. All rights reserved.