public static enum ResponseValidator.Status extends Enum<ResponseValidator.Status>
| Enum Constant and Description |
|---|
INVALID_BLOCKED |
INVALID_CONTENT |
INVALID_STATUS_CODE |
VALID |
| Modifier and Type | Method and Description |
|---|---|
static ResponseValidator.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseValidator.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseValidator.Status VALID
public static final ResponseValidator.Status INVALID_CONTENT
public static final ResponseValidator.Status INVALID_BLOCKED
public static final ResponseValidator.Status INVALID_STATUS_CODE
public static ResponseValidator.Status[] values()
for (ResponseValidator.Status c : ResponseValidator.Status.values()) System.out.println(c);
public static ResponseValidator.Status 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. All rights reserved.