类 AntPathMatcher.AntPathStringMatcher
java.lang.Object
cn.taketoday.core.AntPathMatcher.AntPathStringMatcher
- 封闭类:
- AntPathMatcher
Tests whether or not a string matches against a pattern via a
Pattern.
The pattern may contain special characters: '*' means zero or more characters; '?' means one and only one character; '{' and '}' indicate a URI template pattern. For example /users/{user}.
-
字段概要
字段 -
构造器概要
构造器构造器说明AntPathStringMatcher(String pattern) AntPathStringMatcher(String pattern, boolean caseSensitive) -
方法概要
修饰符和类型方法说明String[]extractVariables(String str) booleanmatchStrings(String str, Map<String, String> uriTemplateVariables) Main entry point.private Stringprotected void
-
字段详细资料
-
GLOB_PATTERN
-
DEFAULT_VARIABLE_PATTERN
- 另请参阅:
-
pattern
-
variableNames
-
rawPattern
-
caseSensitive
private final boolean caseSensitive -
exactMatch
private final boolean exactMatch
-
-
构造器详细资料
-
AntPathStringMatcher
-
AntPathStringMatcher
-
-
方法详细资料
-
quote
-
extractVariables
-
throwIllegalArgumentException
protected void throwIllegalArgumentException() -
matchStrings
Main entry point.- 返回:
trueif the string matches against the pattern, orfalseotherwise.
-