public interface IMediaTransportResponse
| Modifier and Type | Field | Description |
|---|---|---|
static String |
RESPONSE_DATA |
|
static String |
RESPONSE_HEADERS |
|
static String |
RESPONSE_INDICATOR |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addSuccessData(String key,
byte[] data) |
In order to provide as much flexibility as possible it is possible to add 'success'
data to the response object in the form of a key and a byte array.
|
String |
getBasicMessage() |
Get the basic message for the response object.
|
String |
getCommand() |
Get the command for the response object.
|
String |
getContentType() |
Get the content type for the response object.
|
String |
getPath() |
Get the path for the response object.
|
boolean |
getSuccess() |
Get the success flag from the response object.
|
byte[] |
getSuccessData(String key) |
Get the success data available
|
java.util.List<String> |
getSuccessKeyList() |
Get the list of keys that the success data contains.
|
String |
getUUID() |
Get the UUID of the object.
|
void |
setbasicMessage(String basicMessage) |
Set a basic message for the response object.
|
void |
setCommand(String command) |
Set the command type for the response object.
|
void |
setContentType(String contenttype) |
Set the content type for the response object.
|
void |
setPath(String path) |
Set the path for the response object.
|
void |
setSuccess(boolean success) |
Set the success flag for the response object.
|
void |
setUUID(String id) |
Sets the UUID of the response object.
|
static final String RESPONSE_DATA
static final String RESPONSE_HEADERS
static final String RESPONSE_INDICATOR
void addSuccessData(String key,
byte[] data)
key - data - String getBasicMessage()
String getCommand()
String getContentType()
String getPath()
boolean getSuccess()
byte[] getSuccessData(String key)
String - java.util.List<String> getSuccessKeyList()
String getUUID()
void setbasicMessage(String basicMessage)
String - void setCommand(String command)
String - void setContentType(String contenttype)
String - void setPath(String path)
String - void setSuccess(boolean success)
boolean - void setUUID(String id)
String -