public class RegexUrlPathMatcher extends java.lang.Object implements UrlMatcher
Constructor and Description |
---|
RegexUrlPathMatcher() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
compile(java.lang.String path) |
java.lang.String |
getUniversalMatchPattern()
Returns the path which matches every URL
|
boolean |
pathMatchesUrl(java.lang.Object compiledPath,
java.lang.String url) |
boolean |
requiresLowerCaseUrl()
Returns true if the matcher expects the URL to be converted to lower case before
calling
UrlMatcher.pathMatchesUrl(Object, String) . |
void |
setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl) |
public java.lang.Object compile(java.lang.String path)
compile
in interface UrlMatcher
public void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
public boolean pathMatchesUrl(java.lang.Object compiledPath, java.lang.String url)
pathMatchesUrl
in interface UrlMatcher
public java.lang.String getUniversalMatchPattern()
UrlMatcher
getUniversalMatchPattern
in interface UrlMatcher
public boolean requiresLowerCaseUrl()
UrlMatcher
UrlMatcher.pathMatchesUrl(Object, String)
.requiresLowerCaseUrl
in interface UrlMatcher