Class BraveClient
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
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(Tracing tracing)
Creates a new tracingHttpClient
decorator using the specifiedTracing
instance.static Function<? super HttpClient,BraveClient>
newDecorator(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
-
Method Details
-
newDecorator
Creates a new tracingHttpClient
decorator using the specifiedTracing
instance. -
newDecorator
public static Function<? super HttpClient,BraveClient> newDecorator(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
-