public class AntPathUrlMatcher extends Object implements UrlMatcher
| 构造器和说明 |
|---|
AntPathUrlMatcher(String pattern) |
AntPathUrlMatcher(String pattern,
String... httpMethods) |
AntPathUrlMatcher(String pattern,
String[] httpMethods,
boolean caseInsensitive) |
AntPathUrlMatcher(String pattern,
String httpMethod,
boolean caseInsensitive) |
public AntPathUrlMatcher(String pattern)
public AntPathUrlMatcher(String pattern, String httpMethod, boolean caseInsensitive)
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 © 2015. All rights reserved.