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
Version:
$Id: UrlMatcher.java 3558 2009-04-15 07:39:21Z ltaylor $
Author:
Luke Taylor

Method Summary
 Object compile(String urlPattern)
           
 String getUniversalMatchPattern()
          Returns the path which matches every URL
 boolean pathMatchesUrl(Object compiledUrlPattern, 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

Object compile(String urlPattern)

pathMatchesUrl

boolean pathMatchesUrl(Object compiledUrlPattern,
                       String url)

getUniversalMatchPattern

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).



Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.