@ThreadSafe public final class PrefixPathMatcher extends Object implements PathMatcher
PathMatcherto match a path against a set of paths. Path a matches path b if a is the same as b or a is in the subtree of b. For example: /a/b/c matches /a/b, but /a/bc does not match /a/b because although /a/b is a prefix of /a/bc, /a/bc is not in the subtree of /a/b.
|Constructor and Description|
Builds internal trie based on paths.
Copyright © 2022. All Rights Reserved.