Class PathTrie.Node

    • Method Detail

      • getObject

        public T getObject()
      • setObject

        public void setObject​(T o)
      • lookup

        public T lookup​(List<String> pathSegments,
                        int index,
                        Map<String,​String> templateVariables,
                        Set<String> availableSubPaths)
        Parameters:
        pathSegments - pieces in the url /a/b/c has pieces as 'a' , 'b' , 'c'
        index - current index of the pieces that we are looking at in /a/b/c 0='a' and 1='b'
        templateVariables - The mapping of template variable to its value
        availableSubPaths - If not null , available sub paths will be returned in this set