public final class HeaderDecorated<T>
extends java.lang.Object
implements org.dmfs.httpessentials.client.HttpRequest<T>
| Constructor and Description |
|---|
HeaderDecorated(org.dmfs.httpessentials.client.HttpRequest<T> originalRequest,
Decoration<org.dmfs.httpessentials.headers.Headers> headersDecoration) |
| 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 HeaderDecorated(org.dmfs.httpessentials.client.HttpRequest<T> originalRequest, Decoration<org.dmfs.httpessentials.headers.Headers> headersDecoration)
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>public org.dmfs.httpessentials.client.HttpResponseHandler<T> responseHandler(org.dmfs.httpessentials.client.HttpResponse response) throws java.io.IOException, org.dmfs.httpessentials.exceptions.ProtocolError, org.dmfs.httpessentials.exceptions.ProtocolException
responseHandler in interface org.dmfs.httpessentials.client.HttpRequest<T>java.io.IOExceptionorg.dmfs.httpessentials.exceptions.ProtocolErrororg.dmfs.httpessentials.exceptions.ProtocolException