public interface IResponse
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,?> |
getHeaders() |
java.lang.Object |
getPayload()
Returns the raw entity if available from the response
|
java.net.URI |
getRequestedURI()
Return the Request URI that generated this response
|
boolean |
hasPayload()
A "peek" kinda API.
|
boolean |
isSuccess() |
java.lang.Object getPayload()
throws ClientException
ClientExceptionboolean hasPayload()
boolean isSuccess()
java.net.URI getRequestedURI()
java.util.Map<java.lang.String,?> getHeaders()