Interface ResponseConfiguration.Builder

  • Method Details

    • resultPath

      ResponseConfiguration.Builder resultPath(String resultPath)

      The JSON path expression that identifies where the actual result data is located within the API response.

      Parameters:
      resultPath - The JSON path expression that identifies where the actual result data is located within the API response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorPath

      ResponseConfiguration.Builder errorPath(String errorPath)

      The JSON path expression that identifies where error information is located within API responses when requests fail.

      Parameters:
      errorPath - The JSON path expression that identifies where error information is located within API responses when requests fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.