public interface PayloadSpec
Modifier and Type | Method and Description |
---|---|
Payload |
createPayload(java.lang.String operation)
method creates a new instance of a Payload from the Payload Specification.
|
java.util.List<java.lang.String> |
getOperationTypes()
method gets the applicable operation types for this PayloadSpec
|
java.lang.String |
toParserStringFormat()
method will produce a pretty formatted representation of a payload that is easily understandable
by clients.
|
PayloadView |
toPayloadView()
method will expose the Specification's Payload.
|
java.util.List<java.lang.String> getOperationTypes()
Payload createPayload(java.lang.String operation)
operation
- the operation to which the Payload is applicable.PayloadView toPayloadView()
java.lang.String toParserStringFormat()