Package com.linecorp.armeria.client
Class SimpleDecoratingHttpClient
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Client<T_I,T_O>>
com.linecorp.armeria.client.DecoratingClient<I,O,I,O>
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
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
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
-
Constructor Details
-
SimpleDecoratingHttpClient
Creates a new instance that decorates the specifiedHttpClient
.
-