public final class RegexUrlPatternMatcherStrategy extends Object implements UrlPatternMatcherStrategy
Matcher.find():
Attempts to find the next subsequence of the input sequence that matches
the pattern. This method starts at the beginning of this matcher's region, or, if
a previous invocation of the method was successful and the matcher has
not since been reset, at the first character not matched by the previous
match.| Constructor and Description |
|---|
RegexUrlPatternMatcherStrategy() |
RegexUrlPatternMatcherStrategy(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String url)
Execute the match between the given pattern and the url
|
void |
setPattern(String pattern)
The pattern against which the url is compared
|
public RegexUrlPatternMatcherStrategy()
public RegexUrlPatternMatcherStrategy(String pattern)
public boolean matches(String url)
UrlPatternMatcherStrategymatches in interface UrlPatternMatcherStrategyurl - the request url typically with query strings includedpublic void setPattern(String pattern)
UrlPatternMatcherStrategysetPattern in interface UrlPatternMatcherStrategyCopyright © 2006–2021 Apereo. All rights reserved.