Package org.owasp.esapi.waf.rules
Class HTTPMethodRule
- java.lang.Object
-
- org.owasp.esapi.waf.rules.Rule
-
- org.owasp.esapi.waf.rules.HTTPMethodRule
-
public class HTTPMethodRule extends Rule
This is the Rule subclass executed for <restrict-method> rules.- Author:
- Arshan Dabirsiaghi
-
-
Constructor Summary
Constructors Constructor Description HTTPMethodRule(java.lang.String id, java.util.regex.Pattern allowedMethods, java.util.regex.Pattern deniedMethods, java.util.regex.Pattern path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
check(javax.servlet.http.HttpServletRequest request, InterceptingHTTPServletResponse response, javax.servlet.http.HttpServletResponse httpResponse)
-
-
-
Method Detail
-
check
public Action check(javax.servlet.http.HttpServletRequest request, InterceptingHTTPServletResponse response, javax.servlet.http.HttpServletResponse httpResponse)
-
-