类 ShenyuTrieNode
java.lang.Object
org.apache.shenyu.plugin.base.trie.ShenyuTrieNode
- 所有已实现的接口:
Serializable
ShenyuTrieNode.
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanget current path biz info, the biz info maybe pluginName or selectorId.get trie children.booleanthis path is end of path.get fail to node.get full path.get match str.get parent node.get path cache.get pathVariable node.get pathVariable set.booleanmatch all.inthashCode()voidsetBizInfo(String bizInfo) set biz info.voidsetChildren(Map<String, ShenyuTrieNode> children) set children cache.voidsetEndOfPath(boolean endOfPath) set end of path.voidsetFailToNode(ShenyuTrieNode failToNode) set fail to node.voidsetFullPath(String fullPath) set full path.voidsetMatchStr(String matchStr) set match str.voidsetParentNode(ShenyuTrieNode parentNode) set parent node.voidsetPathRuleCache(Map<String, List<?>> pathCache) set path rule cache.voidsetPathVariableNode(ShenyuTrieNode pathVariableNode) set pathVariable node.voidsetPathVariables(Map<String, ShenyuTrieNode> pathVariablesSet) set pathVariable.voidsetWildcard(boolean wildcard) set wildcard.toString()
-
构造器详细资料
-
ShenyuTrieNode
public ShenyuTrieNode() -
ShenyuTrieNode
-
-
方法详细资料
-
getMatchStr
get match str.- 返回:
- matched string
-
setMatchStr
set match str.- 参数:
matchStr- match string
-
getFullPath
get full path.- 返回:
- full path
-
setFullPath
set full path.- 参数:
fullPath- full path
-
getChildren
get trie children.- 返回:
- trie children cache
-
getPathVariables
get pathVariable set.- 返回:
- path variable
-
setPathVariables
set pathVariable.- 参数:
pathVariablesSet- pathVariablesSet
-
getPathVariableNode
get pathVariable node.- 返回:
- ShenyuTrieNode
-
setPathVariableNode
set pathVariable node.- 参数:
pathVariableNode- pathVariableNode
-
setChildren
set children cache.- 参数:
children- children
-
getWildcard
public boolean getWildcard()match all.- 返回:
- match all will return true
-
setWildcard
public void setWildcard(boolean wildcard) set wildcard.- 参数:
wildcard- wildcard
-
getEndOfPath
public boolean getEndOfPath()this path is end of path.- 返回:
- true means match success
-
setEndOfPath
public void setEndOfPath(boolean endOfPath) set end of path.- 参数:
endOfPath- end of path
-
getBizInfo
get current path biz info, the biz info maybe pluginName or selectorId.- 返回:
- biz info
-
setBizInfo
set biz info.- 参数:
bizInfo- bizInfo
-
getPathCache
get path cache.- 返回:
- path cache, maybe selector or rule
-
setPathRuleCache
set path rule cache.- 参数:
pathCache- path cache
-
getParentNode
get parent node.- 返回:
- parent node
-
setParentNode
set parent node.- 参数:
parentNode- parent node
-
getFailToNode
get fail to node.- 返回:
- fail to node
-
setFailToNode
set fail to node.- 参数:
failToNode- fail to node
-
equals
-
hashCode
public int hashCode() -
toString
-