public static enum ResponseStatus.Code extends Enum<ResponseStatus.Code>
Modifier and Type | Method and Description |
---|---|
static ResponseStatus.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseStatus.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseStatus.Code OK
public static final ResponseStatus.Code ERROR
public static final ResponseStatus.Code CIAO
public static ResponseStatus.Code[] values()
for (ResponseStatus.Code c : ResponseStatus.Code.values()) System.out.println(c);
public static ResponseStatus.Code 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 © 2009–2017. All rights reserved.