Interface Condition<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 Condition<R>
The skip condition is used to skip or execute a rate limit check.
  • Method Summary

    Modifier and Type Method Description
    boolean evalute​(R request)  
  • Method Details

    • evalute

      boolean evalute​(R request)
      Parameters:
      request - e.g. to skip or execute rate limit based on the IP address
      Returns:
      true if the rate limit check should be skipped