public interface Response
Modifier and Type | Method and Description |
---|---|
byte[] |
getBody()
The body of the response.
|
Map<String,String> |
getHeaders()
The HTTP headers as returned by the server.
|
Request |
getRequest()
The request for which the response is being returned.
|
int |
getStatus()
The status code as returned in the HTTP response.
|
String |
getStatusText()
The status text as returned in the HTTP response.
|
String |
getUrl()
The URL from which the response was returned.
|
Request getRequest()
String getUrl()
int getStatus()
String getStatusText()
byte[] getBody()