Package com.linecorp.armeria.server.throttling
Request throttling service decorators and strategies.
-
Interface Summary Interface Description ThrottlingAcceptHandler<I extends Request,O extends Response> A callback which is invoked to handle accepted (successful) requests indicated byThrottlingStrategy
.ThrottlingRejectHandler<I extends Request,O extends Response> A callback which is invoked to handle rejected (failure) requests indicated byThrottlingStrategy
. -
Class Summary Class Description AbstractThrottlingService<I extends Request,O extends Response> Decorates aService
to throttle incoming requests.ThrottlingRpcService Decorates an RPCService
to throttle incoming requests.ThrottlingRpcServiceBuilder Builds a newThrottlingRpcService
.ThrottlingService Decorates anHttpService
to throttle incoming requests.ThrottlingServiceBuilder Builds a newThrottlingService
.ThrottlingStrategy<T extends Request> Determines whether a request should be throttled.