The Data object is the container for all communications between services on the Lappsgrid. The Data object consists of a discrimintator, a payload, and possibly some parameters.
| Type | Name and description |
|---|---|
String |
asJson()Returns a JSON representation of the Data object |
String |
asPrettyJson()Returns a pretty-printed JSON representation of the Data object. |
Object |
getParameter(String name) |
void |
setParameter(String name, Object value) |
A URI that specifies the content of the payload. The URI must be one of the URI defined at http://vocab.lappsgrid.org/discriminators.html
A map of parameters (if any) to be sent with the requst.
The payload to be transmitted.
org.lappsgrid:serialization:2.7.0