Interface DataInsertionResponse


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getReason()
      Returns a string representation of the reason if the request was not successful.
      java.lang.String getResponseBody()
      Returns a String representation of the response body.
      boolean isSuccess()
      Returns the request success status.
    • Method Detail

      • isSuccess

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

        java.lang.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

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