public class ResponseType extends java.lang.Object implements Value, ValueProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
copyright
|
static ResponseType |
JSON
The JSON response type format.
|
static ResponseType |
XML
The XML response type format.
|
HANDLER_TO_DOCUMENT, JAVA_HANDLER_METHOD, JAVA_OBJECT_CLASS, JAVA_OBJECT_FIELD, PARAMETER_NAME, REQUEST_EXECUTION_HANDLER| Constructor and Description |
|---|
ResponseType()
Default empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getValue() |
Value[] |
getValues(java.util.Map<java.lang.String,java.lang.Object> context)
Fetch the valid values
|
public static final java.lang.String COPYRIGHT
public static final ResponseType XML
public static final ResponseType JSON
public java.lang.String getDescription()
getDescription in interface Valuepublic java.lang.String getValue()
public Value[] getValues(java.util.Map<java.lang.String,java.lang.Object> context)
ValueProvidergetValues in interface ValueProvidercontext - the context in which to request the values