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 UrlMatcherpublic void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
public boolean pathMatchesUrl(java.lang.Object path,
java.lang.String url)
pathMatchesUrl in interface UrlMatcherpublic java.lang.String getUniversalMatchPattern()
UrlMatchergetUniversalMatchPattern in interface UrlMatcherpublic boolean requiresLowerCaseUrl()
UrlMatcherUrlMatcher.pathMatchesUrl(Object, String).requiresLowerCaseUrl in interface UrlMatcherpublic java.lang.String toString()
toString in class java.lang.Object