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 ObjectObject.toString()Copyright © 2014. All rights reserved.