Package com.linecorp.armeria.server.throttling
@NonNullByDefault
package com.linecorp.armeria.server.throttling
Request throttling service decorators and strategies.
-
InterfaceDescriptionA callback which is invoked to handle accepted (successful) requests indicated by
ThrottlingStrategy
.A callback which is invoked to handle rejected (failure) requests indicated byThrottlingStrategy
. -
ClassDescriptionDecorates a
Service
to throttle incoming requests.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.