public static enum AbstractResource.ResponseStatus extends Enum<AbstractResource.ResponseStatus>
| Enum Constant and Description |
|---|
CONFLICT
The "conflict" response
|
CREATED
The "created" response
|
FAILED
The "failed" response.
|
FORBIDDEN
The "forbidden" response.
|
INVALID
The "invalid" response.
|
NON_EXISTENT
The "non existent" response.
|
SUCCESS
The "success" response.
|
UNAUTHENTICATED
The "forbidden" response.
|
| 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 CONFLICT
public static final AbstractResource.ResponseStatus CREATED
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 UNAUTHENTICATED
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 © 2018 WSO2. All rights reserved.