|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudcontrolled.api.response.Response<T>
T - public abstract class Response<T>
Abstract Response class which represents the http response of the fired http request
| Constructor Summary | |
|---|---|
Response()
|
|
| Method Summary | |
|---|---|
String |
getContent()
Getter for the field content. |
long |
getResponseTime()
Getter for the field responseTime. |
int |
getStatusCode()
Getter for the field statusCode. |
boolean |
isError()
isError. |
void |
setContent(String content)
Setter for the field content. |
void |
setError(boolean error)
Setter for the field error. |
void |
setResponseTime(long responseTime)
Setter for the field responseTime. |
void |
setStatusCode(int statusCode)
Setter for the field statusCode. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Response()
| Method Detail |
|---|
public String getContent()
Getter for the field content.
String object.public void setContent(String content)
Setter for the field content.
content - a String object.public int getStatusCode()
Getter for the field statusCode.
public void setStatusCode(int statusCode)
Setter for the field statusCode.
statusCode - a int.public long getResponseTime()
Getter for the field responseTime.
public void setResponseTime(long responseTime)
Setter for the field responseTime.
responseTime - a long.public boolean isError()
isError.
public void setError(boolean error)
Setter for the field error.
error - a boolean.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||