public class Response extends Object
Response class.
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Getter for the field
body. |
String |
getException()
Getter for the field
exception. |
int |
getStatusCode()
Getter for the field
statusCode. |
void |
setBody(String body)
Setter for the field
body. |
void |
setException(String exception)
Setter for the field
exception. |
void |
setStatusCode(int statusCode)
Setter for the field
statusCode. |
public int getStatusCode()
Getter for the field statusCode.
public void setStatusCode(int statusCode)
Setter for the field statusCode.
statusCode - a int.public void setBody(String body)
Setter for the field body.
body - a String object.Copyright © 2015, 2019, Oracle and/or its affiliates. All rights reserved.