public final class RestResponse
extends Object
Represents the response from the API.
-
Constructor Summary
Constructors
-
Method Summary
-
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
-
getResponseStr
public String getResponseStr()
-
getHttpCode
public int getHttpCode()
-