We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b0a6aa commit 52caecbCopy full SHA for 52caecb
1 file changed
src/main/java/org/owasp/esapi/filters/RequestRateThrottleFilter.java
@@ -29,7 +29,11 @@
29
import javax.servlet.http.HttpSession;
30
31
/**
32
- * Servlet filter class.
+ * A simple servlet filter that limits the request rate to a certain threshold of requests per second.
33
+ * The default rate is 5 hits in 10 seconds. This can be overridden in the web.xml file by adding
34
+ * parameters named "hits" and "period" with the desired values. When the rate is exceeded, a short
35
+ * string is written to the response output stream and the chain method is not invoked. Otherwise,
36
+ * processing proceeds as normal.
37
*/
38
public class RequestRateThrottleFilter implements Filter
39
{
0 commit comments