public static enum JSFUtils.StatusCode extends Enum<JSFUtils.StatusCode>
| Enum Constant and Description |
|---|
BAD_REQUEST |
FORBIDDEN |
NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
toString() |
static JSFUtils.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSFUtils.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSFUtils.StatusCode FORBIDDEN
public static final JSFUtils.StatusCode NOT_FOUND
public static final JSFUtils.StatusCode BAD_REQUEST
public static JSFUtils.StatusCode[] values()
for (JSFUtils.StatusCode c : JSFUtils.StatusCode.values()) System.out.println(c);
public static JSFUtils.StatusCode 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 nullpublic int getCode()
public String toString()
toString in class Enum<JSFUtils.StatusCode>Copyright © 2013. All rights reserved.