public class RestResponse extends Object
Constructor and Description |
---|
RestResponse(String response,
String statusDescription,
int httpStatusCode) |
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode() |
String |
getResponse() |
String |
getStatusDescription() |
void |
setHttpStatusCode(int httpStatusCode) |
void |
setResponse(String response) |
void |
setStatusDescription(String statusDescription) |
String |
toString() |
public String getResponse()
public void setResponse(String response)
response
- the response to setpublic int getHttpStatusCode()
public void setHttpStatusCode(int httpStatusCode)
httpStatusCode
- the httpStatusCode to setpublic String getStatusDescription()
public void setStatusDescription(String statusDescription)
statusDescription
- the statusDescription to setCopyright © 2017. All rights reserved.