Class RestResponse

java.lang.Object
org.sourcelab.kafka.connect.apiclient.rest.RestResponse

public final class RestResponse
extends Object
Represents the response from the API.
  • Constructor Details

    • RestResponse

      public RestResponse​(String responseStr, int httpCode)
      Constructor.
      Parameters:
      responseStr - The http response body, in string format.
      httpCode - The http status code from the response.
  • Method Details