Class WildPathMatcher

  • All Implemented Interfaces:
    PathMatcher

    public class WildPathMatcher
    extends Object
    implements PathMatcher
    Check path with provided sequence of string values. Double asterix character can be used for any subpath in path. Single asterix and question mark can be used for substrings in path element. ["items-*", "**", "name"] can match paths in length >=2 starting with items- and ending with name. ( /items-12/foo/bar/name)
    Author:
    antons
    • Constructor Detail

      • WildPathMatcher

        public WildPathMatcher​(List<String> path)
      • WildPathMatcher

        public WildPathMatcher​(String... path)