Class BraveClient
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
com.linecorp.armeria.client.brave.BraveClient
- All Implemented Interfaces:
Client<HttpRequest,
,HttpResponse> HttpClient
,Unwrappable
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(ClientRequestContext ctx, HttpRequest req) static Function
<? super HttpClient, BraveClient> newDecorator
(HttpTracing httpTracing) Creates a new tracingHttpClient
decorator using the specifiedHttpTracing
instance.static Function
<? super HttpClient, BraveClient> newDecorator
(brave.Tracing tracing) Creates a new tracingHttpClient
decorator using the specifiedTracing
instance.static Function
<? super HttpClient, BraveClient> newDecorator
(brave.Tracing tracing, @Nullable String remoteServiceName) Creates a new tracingHttpClient
decorator using the specifiedTracing
instance and the remote service name.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.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Method Details
-
newDecorator
Creates a new tracingHttpClient
decorator using the specifiedTracing
instance. -
newDecorator
public static Function<? super HttpClient,BraveClient> newDecorator(brave.Tracing tracing, @Nullable @Nullable String remoteServiceName) Creates a new tracingHttpClient
decorator using the specifiedTracing
instance and the remote service name. -
newDecorator
Creates a new tracingHttpClient
decorator using the specifiedHttpTracing
instance. -
execute
Description copied from interface:Client
-