public class AntUrlPathMatcher extends java.lang.Object implements UrlMatcher
Constructor and Description |
---|
AntUrlPathMatcher() |
AntUrlPathMatcher(boolean requiresLowerCaseUrl) |
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 path,
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) |
java.lang.String |
toString() |
public AntUrlPathMatcher()
public AntUrlPathMatcher(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 path, 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
public java.lang.String toString()
toString
in class java.lang.Object