public static enum AbstractResource.ResponseStatus extends Enum<AbstractResource.ResponseStatus>
| Enum Constant and Description |
|---|
FAILED
The failed.
|
FORBIDDEN
The forbidden.
|
INVALID
The invalid.
|
NON_EXISTENT
The non existent.
|
SUCCESS
The success.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractResource.ResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractResource.ResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractResource.ResponseStatus SUCCESS
public static final AbstractResource.ResponseStatus FAILED
public static final AbstractResource.ResponseStatus INVALID
public static final AbstractResource.ResponseStatus FORBIDDEN
public static final AbstractResource.ResponseStatus NON_EXISTENT
public static AbstractResource.ResponseStatus[] values()
for (AbstractResource.ResponseStatus c : AbstractResource.ResponseStatus.values()) System.out.println(c);
public static AbstractResource.ResponseStatus 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 © 2015 WSO2. All rights reserved.