public static enum StatusConstants.StatusCode extends java.lang.Enum<StatusConstants.StatusCode>
| Enum Constant and Description |
|---|
CREATED |
FORBIDDEN |
INTERNALSERVERERROR |
NOTFOUND |
OK |
UNHANDLED |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getDisplay() |
static StatusConstants.StatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusConstants.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusConstants.StatusCode FORBIDDEN
public static final StatusConstants.StatusCode INTERNALSERVERERROR
public static final StatusConstants.StatusCode NOTFOUND
public static final StatusConstants.StatusCode UNHANDLED
public static final StatusConstants.StatusCode OK
public static final StatusConstants.StatusCode CREATED
public static StatusConstants.StatusCode[] values()
for (StatusConstants.StatusCode c : StatusConstants.StatusCode.values()) System.out.println(c);
public static StatusConstants.StatusCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getDisplay()