类 PathPattern.MatchingContext
java.lang.Object
cn.taketoday.web.util.pattern.PathPattern.MatchingContext
- 封闭类:
- PathPattern
Encapsulates context when attempting a match. Includes some fixed state like the
candidate currently being considered for a match but also some accumulators for
extracted variables.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean(专用程序包) booleanisSeparator(int pathIndex) Return if element at specified index is a separator.(专用程序包) StringpathElementValue(int pathIndex) Return the decoded value of the specified element.voidvoid
-
字段详细资料
-
candidate
-
pathElements
-
pathLength
public final int pathLength -
extractedUriVariables
-
extractedMatrixVariables
-
extractingVariables
public boolean extractingVariables -
determineRemainingPath
public boolean determineRemainingPath -
remainingPathIndex
public int remainingPathIndex -
uriVariables
-
-
构造器详细资料
-
MatchingContext
-
-
方法详细资料
-
setMatchAllowExtraPath
public void setMatchAllowExtraPath() -
isMatchOptionalTrailingSeparator
public boolean isMatchOptionalTrailingSeparator() -
set
-
getPathMatchResult
-
isSeparator
boolean isSeparator(int pathIndex) Return if element at specified index is a separator.- 参数:
pathIndex- possible index of a separator- 返回:
trueif element is a separator
-
pathElementValue
Return the decoded value of the specified element.- 参数:
pathIndex- path element index- 返回:
- the decoded value
-