public class AntPathUrlMatcher extends Object implements UrlMatcher
| Constructor and Description |
|---|
AntPathUrlMatcher(String pattern) |
AntPathUrlMatcher(String pattern,
String... httpMethods) |
AntPathUrlMatcher(String pattern,
String[] httpMethods,
boolean caseInsensitive) |
AntPathUrlMatcher(String pattern,
String httpMethod,
boolean caseInsensitive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String url,
String httpMethod)
Performs the match of the request URL (
servletPath + pathInfo + queryString) against the compiled
pattern. |
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 in interface UrlMatcherhttpMethod - url - Copyright © 2018. All rights reserved.