类 ShenyuTrieNode

java.lang.Object
org.apache.shenyu.plugin.base.trie.ShenyuTrieNode
所有已实现的接口:
Serializable

public class ShenyuTrieNode extends Object implements Serializable
ShenyuTrieNode.
另请参阅:
  • 构造器详细资料

    • ShenyuTrieNode

      public ShenyuTrieNode()
    • ShenyuTrieNode

      public ShenyuTrieNode(String matchStr, String fullPath, boolean endOfPath)
  • 方法详细资料

    • getMatchStr

      public String getMatchStr()
      get match str.
      返回:
      matched string
    • setMatchStr

      public void setMatchStr(String matchStr)
      set match str.
      参数:
      matchStr - match string
    • getFullPath

      public String getFullPath()
      get full path.
      返回:
      full path
    • setFullPath

      public void setFullPath(String fullPath)
      set full path.
      参数:
      fullPath - full path
    • getChildren

      public Map<String,ShenyuTrieNode> getChildren()
      get trie children.
      返回:
      trie children cache
    • getPathVariables

      public Map<String,ShenyuTrieNode> getPathVariables()
      get pathVariable set.
      返回:
      path variable
    • setPathVariables

      public void setPathVariables(Map<String,ShenyuTrieNode> pathVariablesSet)
      set pathVariable.
      参数:
      pathVariablesSet - pathVariablesSet
    • getPathVariableNode

      public ShenyuTrieNode getPathVariableNode()
      get pathVariable node.
      返回:
      ShenyuTrieNode
    • setPathVariableNode

      public void setPathVariableNode(ShenyuTrieNode pathVariableNode)
      set pathVariable node.
      参数:
      pathVariableNode - pathVariableNode
    • setChildren

      public void setChildren(Map<String,ShenyuTrieNode> children)
      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

      public String getBizInfo()
      get current path biz info, the biz info maybe pluginName or selectorId.
      返回:
      biz info
    • setBizInfo

      public void setBizInfo(String bizInfo)
      set biz info.
      参数:
      bizInfo - bizInfo
    • getPathCache

      public Map<String,List<?>> getPathCache()
      get path cache.
      返回:
      path cache, maybe selector or rule
    • setPathRuleCache

      public void setPathRuleCache(Map<String,List<?>> pathCache)
      set path rule cache.
      参数:
      pathCache - path cache
    • getParentNode

      public ShenyuTrieNode getParentNode()
      get parent node.
      返回:
      parent node
    • setParentNode

      public void setParentNode(ShenyuTrieNode parentNode)
      set parent node.
      参数:
      parentNode - parent node
    • getFailToNode

      public ShenyuTrieNode getFailToNode()
      get fail to node.
      返回:
      fail to node
    • setFailToNode

      public void setFailToNode(ShenyuTrieNode failToNode)
      set fail to node.
      参数:
      failToNode - fail to node
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object