@CompileStatic class UrlMappingMatcher extends Object implements Matcher
Used to match UrlMappingInfo instance by Interceptor instances
Modifiers | Name | Description |
---|---|---|
static class |
UrlMappingMatcher.ClosureExclude |
|
static interface |
UrlMappingMatcher.Exclude |
|
static class |
UrlMappingMatcher.MapExclude |
Modifiers | Name | Description |
---|---|---|
static Pattern |
WILD_CARD_PATTERN |
|
protected Pattern |
actionRegex |
|
protected Pattern |
controllerRegex |
|
protected List<Exclude> |
excludes |
|
protected Interceptor |
interceptor |
|
protected boolean |
matchAll |
|
protected Pattern |
methodRegex |
|
protected Pattern |
namespaceRegex |
|
protected org.springframework.util.AntPathMatcher |
pathMatcher |
|
protected List<String> |
uriExcludePatterns |
|
protected List<String> |
uriPatterns |
Constructor and description |
---|
UrlMappingMatcher(Interceptor interceptor) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
doesMatch(String uri, UrlMappingInfo info) |
|
boolean |
doesMatch(String uri, UrlMappingInfo info, String method) |
|
protected boolean |
doesMatchInternal(UrlMappingInfo info, String method) |
|
Matcher |
except(Map arguments) |
|
Matcher |
excludes(Map arguments) |
|
Matcher |
excludes(Closure<Boolean> condition) |
|
protected int |
hashCode(UrlMappingInfo info) |
|
boolean |
isExclude() |
|
protected boolean |
isExcluded(String uri, UrlMappingInfo info) |
|
Matcher |
matchAll() |
|
Matcher |
matches(Map arguments) |