public interface RequestData extends Data
Operations that dynamically process data conversion expect a data transformation service to have been configured. If one is not present, a DataXformException is raised.
This interface is implemented by z/OS Connect.
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Dynamically converts an available JSON payload to a byte array.
|
com.ibm.json.java.JSONObject |
getJSON()
Retrieves the JSONObject associated with the inbound HTTP request.
|
getAuthorizationAdminGroupName, getAuthorizationInvokeGroupName, getAuthorizationOperationsGroupName, getInputPayload, getInterceptorPreInvokeFailed, getOutputPayload, getRequestID, getServiceDescription, getServiceGroupingName, getServiceName, isDataTranformationAvailable
com.ibm.json.java.JSONObject getJSON()
byte[] getBytes() throws DataXformException
DataXformException
- If there was an error while dynamically transforming the JSONObject payload to a
byteArray or if a data transformation service is not available to convert the payload.