Package org.labkey.remoteapi.di
Class BaseTransformResponse
java.lang.Object
org.labkey.remoteapi.CommandResponse
org.labkey.remoteapi.di.BaseTransformResponse
- Direct Known Subclasses:
ResetTransformStateResponse
,RunTransformResponse
,UpdateTransformConfigurationResponse
-
Constructor Summary
ConstructorsConstructorDescriptionBaseTransformResponse
(String text, int statusCode, String contentType, org.json.JSONObject json) Constructs a new CommandResponse, initialized with the provided response text and status code. -
Method Summary
Methods inherited from class org.labkey.remoteapi.CommandResponse
findObject, getContentType, getParsedData, getProperty, getProperty, getStatusCode, getText
-
Constructor Details
-
BaseTransformResponse
public BaseTransformResponse(String text, int statusCode, String contentType, org.json.JSONObject json) Constructs a new CommandResponse, initialized with the provided response text and status code.- Parameters:
text
- The response textstatusCode
- The HTTP status codecontentType
- The response content typejson
- The parsed JSONObject (or null if JSON was not returned)
-
-
Method Details
-
getSuccess
public boolean getSuccess()
-