public interface MessageDataSource
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Reruns the content-type of the data.
|
Object |
getDataObject()
Returns the data-object of the data source.
|
String |
getMessageAsString()
Returns the entire message as string.
|
Object |
getValue(String path)
Returns the value.
|
String |
getValueAsString(String path)
Returns the string value of the given path.
|
String |
getValueAsString(String path,
Map<String,String> properties)
Returns the string value of the path.
|
void |
serializeData(OutputStream outputStream)
Serialize data in to a byte stream.
|
void |
setContentType(String type)
Set the content type of the data.
|
String getValueAsString(String path)
path - value pathString getValueAsString(String path, Map<String,String> properties)
path - value pathproperties - meta infoObject getValue(String path)
path - value pathObject getDataObject()
String getContentType()
void setContentType(String type)
type - content-typevoid serializeData(OutputStream outputStream)
String getMessageAsString()
Copyright © 2018 WSO2. All rights reserved.