public class HTTPCallsUtils.HttpResponse extends Object
| Constructor and Description |
|---|
HttpResponse()
Instantiates a new http response.
|
HttpResponse(int status,
String response)
Instantiates a new http response.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResponse()
Gets the response.
|
int |
getStatus()
Gets the status.
|
void |
setResponse(String response)
Sets the response.
|
void |
setStatus(int status)
Sets the status.
|
String |
toString() |
public HttpResponse()
public HttpResponse(int status,
String response)
status - the statusresponse - the responsepublic int getStatus()
public String getResponse()
public void setStatus(int status)
status - the status to setpublic void setResponse(String response)
response - the response to setCopyright © 2021. All Rights Reserved.