Interface PostRateLimitCheck<R,P>

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 PostRateLimitCheck<R,P>
Used to check if the rate limit should be performed independently from the servlet|webflux|gateway request filter
  • Method Details

    • rateLimit

      RateLimitResultWrapper rateLimit(R request, P response)
      Parameters:
      request - the request information object
      response - the response information object
      Returns:
      null if no rate limit should be performed. (maybe skipped or shouldn't be executed).