Class BraveService
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Service<T_I,T_O>>
com.linecorp.armeria.server.DecoratingService<I,O,I,O>
com.linecorp.armeria.server.SimpleDecoratingService<HttpRequest,HttpResponse>
com.linecorp.armeria.server.SimpleDecoratingHttpService
com.linecorp.armeria.server.brave.BraveService
- All Implemented Interfaces:
Unwrappable,HttpService,Service<HttpRequest,HttpResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstatic Function<? super HttpService,BraveService> newDecorator(brave.http.HttpTracing httpTracing) Creates a new tracingHttpServicedecorator using the specifiedHttpTracinginstance.static Function<? super HttpService,BraveService> newDecorator(brave.Tracing tracing) Creates a new tracingHttpServicedecorator using the specifiedTracinginstance.serve(ServiceRequestContext ctx, HttpRequest req) Serves an incomingRequest.Methods inherited from class com.linecorp.armeria.server.SimpleDecoratingHttpService
exchangeTypeMethods inherited from class com.linecorp.armeria.server.DecoratingService
serviceAdded, shouldCachePathMethods inherited from class com.linecorp.armeria.common.util.AbstractUnwrappable
as, toString, unwrap, unwrapAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.linecorp.armeria.server.HttpService
decorate, decorateMethods inherited from interface com.linecorp.armeria.server.Service
as, serviceAdded, shouldCachePath, unwrapMethods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Method Details
-
newDecorator
Creates a new tracingHttpServicedecorator using the specifiedTracinginstance. -
newDecorator
public static Function<? super HttpService,BraveService> newDecorator(brave.http.HttpTracing httpTracing) Creates a new tracingHttpServicedecorator using the specifiedHttpTracinginstance. -
serve
Description copied from interface:ServiceServes an incomingRequest.
-