org.springframework.security.web.util
Class RegexUrlPathMatcher

java.lang.Object
  extended by org.springframework.security.web.util.RegexUrlPathMatcher
All Implemented Interfaces:
UrlMatcher

public class RegexUrlPathMatcher
extends Object
implements UrlMatcher


Constructor Summary
RegexUrlPathMatcher()
           
 
Method Summary
 Object compile(String path)
           
 String getUniversalMatchPattern()
          Returns the path which matches every URL
 boolean pathMatchesUrl(Object compiledPath, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexUrlPathMatcher

public RegexUrlPathMatcher()
Method Detail

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