public boolean getEndOfPath() {
        return endOfPath;
    }
this path is end of path.

@return true means match success
shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shenyu/plugin/base/trie/ShenyuTrieNode.java