Package com.linecorp.armeria.server
Interface TransientHttpService
- All Superinterfaces:
HttpService,Service<HttpRequest,,HttpResponse> TransientService<HttpRequest,,HttpResponse> Unwrappable
- All Known Implementing Classes:
HealthCheckService,PrometheusExpositionService,PrometheusExpositionService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface TransientHttpService
extends TransientService<HttpRequest,HttpResponse>, HttpService
An
HttpService that handles transient requests, for example, health check requests.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Function<? super HttpService, SimpleDecoratingHttpService> newDecorator(TransientServiceOption... transientServiceOptions) static Function<? super HttpService, SimpleDecoratingHttpService> newDecorator(Iterable<TransientServiceOption> transientServiceOptions) Methods inherited from interface com.linecorp.armeria.server.HttpService
decorate, decorate, exchangeType, options, serveMethods inherited from interface com.linecorp.armeria.server.Service
as, serviceAdded, shouldCachePath, unwrapMethods inherited from interface com.linecorp.armeria.server.TransientService
transientServiceOptionsMethods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Method Details
-
newDecorator
static Function<? super HttpService,SimpleDecoratingHttpService> newDecorator(TransientServiceOption... transientServiceOptions) -
newDecorator
static Function<? super HttpService,SimpleDecoratingHttpService> newDecorator(Iterable<TransientServiceOption> transientServiceOptions)
-