Package com.linecorp.armeria.client
Class SimpleDecoratingHttpClient
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Client<HttpRequest,HttpResponse>>
com.linecorp.armeria.client.DecoratingClient<HttpRequest,HttpResponse,HttpRequest,HttpResponse>
com.linecorp.armeria.client.SimpleDecoratingClient<HttpRequest,HttpResponse>
com.linecorp.armeria.client.SimpleDecoratingHttpClient
- All Implemented Interfaces:
Client<HttpRequest,
,HttpResponse> HttpClient
,Unwrappable
- Direct Known Subclasses:
BraveClient
,ContentPreviewingClient
,CookieClient
,DecodingClient
,OAuth2Client
,ObservationClient
public abstract class SimpleDecoratingHttpClient
extends SimpleDecoratingClient<HttpRequest,HttpResponse>
implements HttpClient
Decorates an
HttpClient
. Use DecoratingClient
if your Client
has different
Request
or Response
type from the Client
being decorated.-
Constructor Summary
ModifierConstructorDescriptionprotected
SimpleDecoratingHttpClient
(HttpClient delegate) Creates a new instance that decorates the specifiedHttpClient
. -
Method Summary
Methods inherited from class com.linecorp.armeria.common.util.AbstractUnwrappable
as, toString, unwrap, unwrapAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.linecorp.armeria.client.HttpClient
execute
Methods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Constructor Details
-
SimpleDecoratingHttpClient
Creates a new instance that decorates the specifiedHttpClient
.
-