com.worklight.wlclient.api
Class WLProcedureInvocationFailResponse
- java.lang.Object
-
- com.worklight.wlclient.api.WLResponse
-
- com.worklight.wlclient.api.WLFailResponse
-
- com.worklight.wlclient.api.WLProcedureInvocationFailResponse
-
public final class WLProcedureInvocationFailResponse extends WLFailResponse
This class extendsWLFailResponse
. This class contains statuses and data that the adapter procedure retrieves.
-
-
Field Summary
-
Fields inherited from class com.worklight.wlclient.api.WLFailResponse
HTTP_STATUS, JSON_KEY_FAILURES
-
Fields inherited from class com.worklight.wlclient.api.WLResponse
statusText
-
-
Method Summary
Methods Modifier and Type Method and Description java.util.List
getProcedureInvocationErrors()
This method returns a list of applicative error messages that are collected while the procedure is called.JSONObject
getResult()
This method returns a JSONObject that represents the JSON response from the server.-
Methods inherited from class com.worklight.wlclient.api.WLFailResponse
getErrorCode, getErrorMsg, getErrorStatusCode, toString
-
Methods inherited from class com.worklight.wlclient.api.WLResponse
getFirstHeader, getHeaders, getInvocationContext, getResponseBytes, getResponseJSON, getResponseText, getStatus, getStatusText, setResponseJSON, setStatusText
-
-
-
-
Method Detail
-
getProcedureInvocationErrors
public java.util.List getProcedureInvocationErrors()
This method returns a list of applicative error messages that are collected while the procedure is called.
-
getResult
public JSONObject getResult() throws JSONException
This method returns a JSONObject that represents the JSON response from the server.- Throws:
JSONException
-
-