public final class ResponseDecorated<T>
extends java.lang.Object
implements org.dmfs.httpessentials.client.HttpRequest<T>
| Constructor and Description |
|---|
ResponseDecorated(org.dmfs.httpessentials.client.HttpRequest<T> originalRequest,
Decoration<org.dmfs.httpessentials.client.HttpResponse> responseDecoration) |
| Modifier and Type | Method and Description |
|---|---|
org.dmfs.httpessentials.headers.Headers |
headers() |
org.dmfs.httpessentials.HttpMethod |
method() |
org.dmfs.httpessentials.client.HttpRequestEntity |
requestEntity() |
org.dmfs.httpessentials.client.HttpResponseHandler<T> |
responseHandler(org.dmfs.httpessentials.client.HttpResponse response) |
public ResponseDecorated(org.dmfs.httpessentials.client.HttpRequest<T> originalRequest, Decoration<org.dmfs.httpessentials.client.HttpResponse> responseDecoration)
public org.dmfs.httpessentials.HttpMethod method()
method in interface org.dmfs.httpessentials.client.HttpRequest<T>public org.dmfs.httpessentials.headers.Headers headers()
headers in interface org.dmfs.httpessentials.client.HttpRequest<T>public org.dmfs.httpessentials.client.HttpRequestEntity requestEntity()
requestEntity in interface org.dmfs.httpessentials.client.HttpRequest<T>