public class RegexUrlMatcher extends Object implements UrlMatcher
| Constructor and Description |
|---|
RegexUrlMatcher(String pattern) |
RegexUrlMatcher(String pattern,
String... httpMethods) |
RegexUrlMatcher(String pattern,
String[] httpMethods,
boolean caseInsensitive) |
RegexUrlMatcher(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 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 in interface UrlMatcherhttpMethod - url - Copyright © 2018. All rights reserved.