Package com.restfb
Class WebRequestor.Response
- java.lang.Object
-
- com.restfb.WebRequestor.Response
-
- Enclosing interface:
- WebRequestor
public static class WebRequestor.Response extends Object
Encapsulates an HTTP response body and status code.- Author:
- Mark Allen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBody()
Gets the HTTP response body as text.Integer
getStatusCode()
Gets the HTTP status code.String
toString()
-
-
-
Method Detail
-
getStatusCode
public Integer getStatusCode()
Gets the HTTP status code.- Returns:
- The HTTP status code.
-
getBody
public String getBody()
Gets the HTTP response body as text.- Returns:
- The HTTP response body as text.
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-