Interface DataInsertionResponse


@ProviderType public interface DataInsertionResponse
The DataInsertionResponse holds the response information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string representation of the reason if the request was not successful.
    Returns a String representation of the response body.
    boolean
    Returns the request success status.
  • Method Details

    • isSuccess

      boolean isSuccess()
      Returns the request success status.
      Returns:
      true if request succeeded, false otherwise
    • getReason

      String getReason()
      Returns a string representation of the reason if the request was not successful.
      Returns:
      Reason for failure or null if not available
    • getResponseBody

      String getResponseBody()
      Returns a String representation of the response body.
      Returns:
      Response body