public void setEndOfPath(final boolean endOfPath) {
        this.endOfPath = endOfPath;
    }
set end of path.

@param endOfPath end of path
shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shenyu/plugin/base/trie/ShenyuTrieNode.java