org.springframework.security.web.util
Interface UrlMatcher

All Known Implementing Classes:
AntUrlPathMatcher, RegexUrlPathMatcher

public interface UrlMatcher

Strategy for deciding whether configured path matches a submitted candidate URL.

Since:
2.0

Method Summary
 java.lang.Object compile(java.lang.String urlPattern)
           
 java.lang.String getUniversalMatchPattern()
          Returns the path which matches every URL
 boolean pathMatchesUrl(java.lang.Object compiledUrlPattern, java.lang.String url)
           
 boolean requiresLowerCaseUrl()
          Returns true if the matcher expects the URL to be converted to lower case before calling pathMatchesUrl(Object, String).
 

Method Detail

compile

java.lang.Object compile(java.lang.String urlPattern)

pathMatchesUrl

boolean pathMatchesUrl(java.lang.Object compiledUrlPattern,
                       java.lang.String url)

getUniversalMatchPattern

java.lang.String getUniversalMatchPattern()
Returns the path which matches every URL


requiresLowerCaseUrl

boolean requiresLowerCaseUrl()
Returns true if the matcher expects the URL to be converted to lower case before calling pathMatchesUrl(Object, String).