Class UrlPatternMatcher

java.lang.Object
io.quarkiverse.openapi.generator.providers.UrlPatternMatcher

public class UrlPatternMatcher extends Object
  • Constructor Details

    • UrlPatternMatcher

      public UrlPatternMatcher(String uriTemplate)
  • Method Details

    • matches

      public boolean matches(String url)
      Test the given URL against the underlying pattern to determine if it matches, returning a boolean to reflect the outcome.
      Parameters:
      url - an URL string with or without query string.
      Returns:
      true if the given URL matches the underlying pattern. Otherwise false.
    • toString

      public String toString()
      Overrides:
      toString in class Object