public class HTTPMethodRule extends Rule
| Modifier and Type | Field and Description |
|---|---|
private java.util.regex.Pattern |
allowedMethods |
private java.util.regex.Pattern |
deniedMethods |
private java.util.regex.Pattern |
path |
| Constructor and Description |
|---|
HTTPMethodRule(java.lang.String id,
java.util.regex.Pattern allowedMethods,
java.util.regex.Pattern deniedMethods,
java.util.regex.Pattern path) |
| Modifier and Type | Method and Description |
|---|---|
Action |
check(javax.servlet.http.HttpServletRequest request,
InterceptingHTTPServletResponse response,
javax.servlet.http.HttpServletResponse httpResponse) |
private java.util.regex.Pattern allowedMethods
private java.util.regex.Pattern deniedMethods
private java.util.regex.Pattern path
public HTTPMethodRule(java.lang.String id,
java.util.regex.Pattern allowedMethods,
java.util.regex.Pattern deniedMethods,
java.util.regex.Pattern path)
public Action check(javax.servlet.http.HttpServletRequest request, InterceptingHTTPServletResponse response, javax.servlet.http.HttpServletResponse httpResponse)