类 ServletPathMatcher
java.lang.Object
com.alibaba.druid.util.ServletPathMatcher
- 所有已实现的接口:
PatternMatcher
-
方法概要
-
方法详细资料
-
getInstance
-
matches
three type: endsWithMatch(eg. /xxx*=/xxx/xyz), startsWithMatch(eg. *.xxx=abc.xxx), equals(eg. /xxx=/xxx).
Notice: *xxx* will match *xxxyyyy. endsWithMatch first.- 指定者:
matches在接口中PatternMatcher- 参数:
pattern- the pattern to match againstsource- the source to match- 返回:
trueif the givensourcematches the specifiedpattern,falseotherwise.
-