org.springframework.security.web.util
Class RegexUrlPathMatcher
java.lang.Object
org.springframework.security.web.util.RegexUrlPathMatcher
- All Implemented Interfaces:
- UrlMatcher
public class RegexUrlPathMatcher
- extends Object
- implements UrlMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexUrlPathMatcher
public RegexUrlPathMatcher()
compile
public Object compile(String path)
- Specified by:
compile
in interface UrlMatcher
setRequiresLowerCaseUrl
public void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
pathMatchesUrl
public boolean pathMatchesUrl(Object compiledPath,
String url)
- Specified by:
pathMatchesUrl
in interface UrlMatcher
getUniversalMatchPattern
public String getUniversalMatchPattern()
- Description copied from interface:
UrlMatcher
- Returns the path which matches every URL
- Specified by:
getUniversalMatchPattern
in interface UrlMatcher
requiresLowerCaseUrl
public boolean requiresLowerCaseUrl()
- Description copied from interface:
UrlMatcher
- Returns true if the matcher expects the URL to be converted to lower case before
calling
UrlMatcher.pathMatchesUrl(Object, String)
.
- Specified by:
requiresLowerCaseUrl
in interface UrlMatcher