public static enum RemoteApplicationResponse.Type extends Enum<RemoteApplicationResponse.Type> implements Serializable
Enum Constant and Description |
---|
EMPTY
The result will be empty (null)
|
OBJECT
The result is expected to return a simple object, the type is determined by the status.
|
RAW
The result is expected to return a RawResponse type.
|
STREAM
The result is expected to return an input stream object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isStreaming() |
static RemoteApplicationResponse.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteApplicationResponse.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final RemoteApplicationResponse.Type EMPTY
public static final RemoteApplicationResponse.Type STREAM
public static final RemoteApplicationResponse.Type RAW
public static final RemoteApplicationResponse.Type OBJECT
public static RemoteApplicationResponse.Type[] values()
for (RemoteApplicationResponse.Type c : RemoteApplicationResponse.Type.values()) System.out.println(c);
public static RemoteApplicationResponse.Type 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 nullpublic boolean isStreaming()