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 of the servlet|webflux|gateway request filter
  • Method Details

    • rateLimit

      RateLimitResultWrapper rateLimit(ExpressionParams<R> params, RateLimit mainRateLimit)
      Parameters:
      params - parameter information
      mainRateLimit - overwrites the rate limit configuration from the properties
      Returns:
      null if no rate limit should be performed. (maybe skipped or shouldn't be executed).