Interface DataInsertionResponse
The
DataInsertionResponse holds the response information.-
Method Summary
Modifier and TypeMethodDescriptionReturns a string representation of the reason if the request was not successful.Returns a String representation of the response body.booleanReturns the request success status.
-
Method Details
-
isSuccess
boolean isSuccess()Returns the request success status.- Returns:
trueif request succeeded,falseotherwise
-
getReason
String getReason()Returns a string representation of the reason if the request was not successful.- Returns:
- Reason for failure or
nullif not available
-
getResponseBody
String getResponseBody()Returns a String representation of the response body.- Returns:
- Response body
-