|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PathMatcher
Strategy interface for String-based path matching. Used by PathMatchingResourcePatternResolver, AbstractUrlHandlerMapping, PropertiesMethodNameResolver, WebContentInterceptor.
The default implementation is AntPathMatcher, supporting Ant-style pattern syntax.
AntPathMatcher
,
PathMatchingResourcePatternResolver
,
AbstractUrlHandlerMapping
,
PropertiesMethodNameResolver
,
WebContentInterceptor
Method Summary | |
---|---|
boolean |
isPattern(String str)
Return if the given string represents a pattern to be matched via this class: If not, the "match" method does not have to be used because direct equality comparisons are sufficient. |
boolean |
match(String pattern,
String str)
Match a string against the given pattern. |
Method Detail |
---|
boolean isPattern(String str)
str
- the string to check
match(java.lang.String, java.lang.String)
boolean match(String pattern, String str)
pattern
- the pattern to match againststr
- the string to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |