public interface HttpResponse
| Modifier and Type | Method and Description |
|---|---|
Headers |
headers()
Returns the response headers.
|
java.net.URI |
requestUri()
Returns the
URI the request was originally sent to. |
HttpResponseEntity |
responseEntity()
Returns an
HttpResponseEntity representing the data in the response. |
java.net.URI |
responseUri()
Returns the
URI of the server instance that actually handled the request. |
HttpStatus |
status()
Returns the status of the response.
|
HttpStatus status()
HttpStatusHttpResponseEntity responseEntity()
HttpResponseEntity representing the data in the response.HttpResponseEntity.java.net.URI requestUri()
URI the request was originally sent to.responseUri()java.net.URI responseUri()
URI of the server instance that actually handled the request. If no redirects have been followed this equals the URI passed to the
execute methods of HttpRequestExecutor otherwise it's the URI of the last location that didn't return a redirect.requestUri()