Interface RateLimitCheck<R>
- 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 RateLimitCheck<R>
Used to check if the rate limit should be performed independently from the Servlet Filter or ZuulFilter.
-
Method Summary
Modifier and Type Method Description ConsumptionProbeHolderrateLimit(R request, boolean async)
-
Method Details
-
rateLimit
- Parameters:
request- the request information object- Returns:
- null if no rate limit should be performed. (maybe skipped or shouldn't be executed).
-