diff --git a/java/org/apache/catalina/filters/RateLimitFilter.java b/java/org/apache/catalina/filters/RateLimitFilter.java index b7a4b23c2cd1..8e07ca81828a 100644 --- a/java/org/apache/catalina/filters/RateLimitFilter.java +++ b/java/org/apache/catalina/filters/RateLimitFilter.java @@ -42,11 +42,11 @@ * the bucket time ends and a new bucket starts. *
*
- * The RateLimiter implementation can be set via the className
init param. The default implementation,
- * org.apache.catalina.util.FastRateLimiter
, is optimized for efficiency and low overhead so it converts
- * some configured values to more efficient values. For example, a configuration of a 60 seconds time bucket is
- * converted to 65.536 seconds. That allows for very fast bucket calculation using bit shift arithmetic. In order to
- * remain true to the user intent, the configured number of requests is then multiplied by the same ratio, so a
+ * The RateLimiter implementation can be set via the rateLimitClassName
init param. The default
+ * implementation, org.apache.catalina.util.FastRateLimiter
, is optimized for efficiency and low overhead
+ * so it converts some configured values to more efficient values. For example, a configuration of a 60 seconds time
+ * bucket is converted to 65.536 seconds. That allows for very fast bucket calculation using bit shift arithmetic. In
+ * order to remain true to the user intent, the configured number of requests is then multiplied by the same ratio, so a
* configuration of 100 Requests per 60 seconds, has the real values of 109 Requests per 65 seconds. You can specify a
* different class as long as it implements the org.apache.catalina.util.RateLimiter
interface.
*