Class URIPattern


public class URIPattern extends Object
URI Pattern matcher The pattern is URI in which authority, path, query and fragment can be replace with simple pattern. For example: foobar://*.local/some_path/*?*#* will match all uris with schema foobar in local domain with any port, with path that starts some_path and with any query and fragment.
  • Constructor Details

    • URIPattern

      public URIPattern(String pattern)
      Constructs uri pattern
  • Method Details

    • match

      public boolean match(URI uri)
      Returns true if the given uri matches the pattern
    • match

      public static boolean match(URIPattern[] patterns, URI uri)
    • toString

      public String toString()
      toString in class Object