public enum ResponseType extends java.lang.Enum<ResponseType>
| Enum Constant and Description |
|---|
BITMAP |
JSON_ARRAY |
JSON_OBJECT |
OK_HTTP_RESPONSE |
PARSED |
PREFETCH |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static ResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseType STRING
public static final ResponseType JSON_OBJECT
public static final ResponseType JSON_ARRAY
public static final ResponseType OK_HTTP_RESPONSE
public static final ResponseType BITMAP
public static final ResponseType PREFETCH
public static final ResponseType PARSED
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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