Package com.linecorp.armeria.server
Interface TransientService<I extends Request,O extends Response>
- All Superinterfaces:
Service<I,O>
,Unwrappable
- All Known Subinterfaces:
TransientHttpService
,TransientRpcService
- 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 TransientService<I extends Request,O extends Response> extends Service<I,O>
A
Service
that handles transient requests, for example, health check requests.-
Method Summary
Modifier and Type Method Description default Set<TransientServiceOption>
transientServiceOptions()
Methods inherited from interface com.linecorp.armeria.server.Service
as, serve, serviceAdded, shouldCachePath, unwrap
-
Method Details
-
transientServiceOptions
Returns theSet
ofTransientServiceOption
s that are enabled for thisTransientService
. This returnsFlags.transientServiceOptions()
if you didn't specify anyTransientServiceOption
s usingTransientServiceBuilder.transientServiceOptions(TransientServiceOption...)
when you create thisTransientService
.
-