|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.restfb.WebRequestor.Response
public static class WebRequestor.Response
Encapsulates an HTTP response body and status code.
| Constructor Summary | |
|---|---|
WebRequestor.Response(Integer statusCode,
String body)
Creates a response with the given HTTP status code and response body as text. |
|
| Method Summary | |
|---|---|
String |
getBody()
Gets the HTTP response body as text. |
Integer |
getStatusCode()
Gets the HTTP status code. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebRequestor.Response(Integer statusCode,
String body)
statusCode - The HTTP status code of the response.body - The response body as text.| Method Detail |
|---|
public Integer getStatusCode()
public String getBody()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||