Package com.linecorp.armeria.server.throttling
@NonNullByDefault
package com.linecorp.armeria.server.throttling
Request throttling service decorators and strategies.
-
ClassDescriptionDecorates a
Service
to throttle incoming requests.A callback which is invoked to handle accepted (successful) requests indicated byThrottlingStrategy
.A callback which is invoked to handle rejected (failure) requests indicated byThrottlingStrategy
.Decorates an RPCService
to throttle incoming requests.Builds a newThrottlingRpcService
.Decorates anHttpService
to throttle incoming requests.Builds a newThrottlingService
.ThrottlingStrategy<T extends Request>Determines whether a request should be throttled.