Interface RateLimiter<C>
-
- All Superinterfaces:
Configurable<C>,StatefulConfigurable<C>
- All Known Implementing Classes:
AbstractRateLimiter,RedisRateLimiter
public interface RateLimiter<C> extends StatefulConfigurable<C>
- Author:
- Spencer Gibb
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRateLimiter.Response
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<RateLimiter.Response>isAllowed(String routeId, String id)-
Methods inherited from interface org.springframework.cloud.gateway.support.Configurable
getConfigClass, newConfig
-
Methods inherited from interface org.springframework.cloud.gateway.support.StatefulConfigurable
getConfig
-
-
-
-
Method Detail
-
isAllowed
reactor.core.publisher.Mono<RateLimiter.Response> isAllowed(String routeId, String id)
-
-