Class RateLimitKeyGenerator

java.lang.Object
com.rale4j.sb.enforcement.RateLimitKeyGenerator

@Component public class RateLimitKeyGenerator extends Object
Generates unique keys for rate limiting based on the method and its arguments.
  • Constructor Details

    • RateLimitKeyGenerator

      public RateLimitKeyGenerator()
  • Method Details

    • generateKey

      public String generateKey(org.aspectj.lang.ProceedingJoinPoint joinPoint)
      Generates a unique key for rate limiting.
      Parameters:
      joinPoint - the join point representing the intercepted method
      Returns:
      a unique key for rate limiting