public enum ResponseTypes extends Enum<ResponseTypes>
| Enum Constant and Description |
|---|
HTML |
JSON_ARRAY |
JSON_OBJECT |
PLAINTEXT |
| Modifier and Type | Method and Description |
|---|---|
static ResponseTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseTypes JSON_OBJECT
public static final ResponseTypes JSON_ARRAY
public static final ResponseTypes PLAINTEXT
public static final ResponseTypes HTML
public static ResponseTypes[] values()
for (ResponseTypes c : ResponseTypes.values()) System.out.println(c);
public static ResponseTypes 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 © 2013–2016 V5 Analytics. All rights reserved.