public class RegexUrlMatcher extends Object implements UrlMatcher
| 构造器和说明 |
|---|
RegexUrlMatcher(String pattern) |
RegexUrlMatcher(String pattern,
String... httpMethods) |
RegexUrlMatcher(String pattern,
String[] httpMethods,
boolean caseInsensitive) |
RegexUrlMatcher(String pattern,
String httpMethod,
boolean caseInsensitive) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
matches(String url,
String httpMethod)
Performs the match of the request URL (
servletPath + pathInfo + queryString) against the compiled
pattern. |
public RegexUrlMatcher(String pattern)
public boolean matches(String url, String httpMethod)
servletPath + pathInfo + queryString) against the compiled
pattern. If the query string is present, a question mark will be
prependedmatches 在接口中 UrlMatcherhttpMethod - url - Copyright © 2016. All rights reserved.