public class CustomAntPathMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
HttpMethod enum.
Wraps a AntPathRequestMatcher| Modifier and Type | Field and Description |
|---|---|
protected boolean |
httpMethodUsed |
protected org.springframework.security.web.util.matcher.AntPathRequestMatcher |
wrapped |
| Constructor and Description |
|---|
CustomAntPathMatcher(String pattern)
Creates a matcher with the specific pattern which will match all HTTP methods in a case insensitive manner.
|
CustomAntPathMatcher(String pattern,
String httpMethod)
Creates a matcher with the supplied pattern and HTTP method in a case insensitive manner.
|
CustomAntPathMatcher(String pattern,
String httpMethod,
boolean caseSensitive)
Creates a matcher with the supplied pattern which will match the specified Http method
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(javax.servlet.http.HttpServletRequest request) |
protected org.springframework.security.web.util.matcher.AntPathRequestMatcher wrapped
protected boolean httpMethodUsed
public CustomAntPathMatcher(String pattern)
pattern - the ant pattern to use for matchingpublic CustomAntPathMatcher(String pattern, String httpMethod)
pattern - the ant pattern to use for matchinghttpMethod - the HTTP method. The matches method will return false if the incoming request doesn't have the same method.public CustomAntPathMatcher(String pattern, String httpMethod, boolean caseSensitive)
pattern - the ant pattern to use for matchinghttpMethod - the HTTP method. The matches method will return false if the incoming request doesn't doesn't have the same method.caseSensitive - true if the matcher should consider case, else falseCopyright © 2021 Flowable. All rights reserved.