Package com.linecorp.armeria.server
Interface TransientRpcService
- All Superinterfaces:
RpcService
,Service<RpcRequest,
,RpcResponse> TransientService<RpcRequest,
,RpcResponse> Unwrappable
- 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 TransientRpcService
extends TransientService<RpcRequest,RpcResponse>, RpcService
An
RpcService
that handles transient requests, for example, health check requests.-
Method Summary
Modifier and TypeMethodDescriptionstatic Function<? super RpcService,
SimpleDecoratingRpcService> newDecorator
(TransientServiceOption... transientServiceOptions) static Function<? super RpcService,
SimpleDecoratingRpcService> newDecorator
(Iterable<TransientServiceOption> transientServiceOptions) Methods inherited from interface com.linecorp.armeria.server.RpcService
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
Methods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Method Details
-
newDecorator
static Function<? super RpcService,SimpleDecoratingRpcService> newDecorator(TransientServiceOption... transientServiceOptions) -
newDecorator
static Function<? super RpcService,SimpleDecoratingRpcService> newDecorator(Iterable<TransientServiceOption> transientServiceOptions)
-