public enum ValidationResponseType extends java.lang.Enum<ValidationResponseType>
| Enum Constant and Description |
|---|
JSON
Render response in JSON.
|
XML
Default CAS XML response.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationResponseType XML
public static final ValidationResponseType JSON
public static ValidationResponseType[] values()
for (ValidationResponseType c : ValidationResponseType.values()) System.out.println(c);
public static ValidationResponseType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null