Package com.linecorp.armeria.server
Interface TransientHttpService
- All Superinterfaces:
HttpService
,Service<HttpRequest,HttpResponse>
,TransientService<HttpRequest,HttpResponse>
,Unwrappable
- All Known Implementing Classes:
HealthCheckService
,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
Modifier 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, serve
Methods inherited from interface com.linecorp.armeria.server.Service
as, serviceAdded, shouldCachePath, unwrap
Methods inherited from interface com.linecorp.armeria.server.TransientService
transientServiceOptions
-
Method Details
-
newDecorator
static Function<? super HttpService,SimpleDecoratingHttpService> newDecorator(TransientServiceOption... transientServiceOptions) -
newDecorator
static Function<? super HttpService,SimpleDecoratingHttpService> newDecorator(Iterable<TransientServiceOption> transientServiceOptions)
-