public class ExcludeRequestMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
黑名单路径匹配器
如果路径在目标路径匹配范围之内,则返回为true, 如 /demo/**表示除了/demo/**之外的路径都能匹配Constructor and Description |
---|
ExcludeRequestMatcher(List<String> patterns) |
ExcludeRequestMatcher(String httpMethod,
boolean caseSensitive,
List<String> patterns) |
ExcludeRequestMatcher(String httpMethod,
List<String> patterns) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(javax.servlet.http.HttpServletRequest request) |
Copyright © 2021. All rights reserved.