public interface IMediaTransportDataObject
| Modifier and Type | Method | Description |
|---|---|---|
String |
getCommand() |
Get the command set
|
String |
getContentType() |
Get the content type set.
|
byte[] |
getData() |
Get the data body set
|
String |
getHeader(String name) |
|
java.util.HashMap<String,String> |
getHeaders() |
|
String |
getOption(String name) |
Get an option for this object.
|
java.util.HashMap<String,String> |
getOptions() |
Get the map of options set for this object.
|
String |
getPath() |
Get the path set
|
String |
getUUID() |
Return the UUID created when the object was initialised.
|
void |
init() |
This initialises the object.
|
void |
setCommand(String command) |
This is the command the object needs to use to execute transport
within the transport provider.
|
void |
setContentType(String contentType) |
Set the content type of the object.
|
void |
setData(byte[] data) |
This sets the data body of the object and must be a byte array.
|
void |
setHeader(String name,
String value) |
|
void |
setOption(String name,
String value) |
Set an option for this object.
|
void |
setPath(String path) |
This sets the destination path of the object.
|
String getCommand()
String getContentType()
byte[] getData()
String getHeader(String name)
java.util.HashMap<String,String> getHeaders()
String getOption(String name)
String - java.util.HashMap<String,String> getOptions()
String getPath()
String getUUID()
void init()
void setCommand(String command)
String - void setContentType(String contentType)
String - void setData(byte[] data)
byte - []void setHeader(String name,
String value)
void setOption(String name,
String value)
String - String - void setPath(String path)
String -