public static class WebRequestor.Response extends Object
Constructor and Description |
---|
Response(Integer statusCode,
String body)
Creates a response with the given HTTP status code and response body as text.
|
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets the HTTP response body as text.
|
Integer |
getStatusCode()
Gets the HTTP status code.
|
String |
toString() |
public Integer getStatusCode()
public String getBody()
public String toString()
toString
in class Object
Object.toString()
RestFB 1.7.0. Copyright © 2010-2014 Mark Allen. All Rights Reserved.