public static PathAndQuery matches(final String pattern)
   {
      return new PathAndQuery(pattern) {
         @Override
         public String toString()
         {
            return "PathAndQuery.matches(\"" + pattern + "\")";
         }
      };
   }
public static PathAndQuery matches(final String pattern)
   {
      return new PathAndQuery(pattern) {
         @Override
         public String toString()
         {
            return "PathAndQuery.matches(\"" + pattern + "\")";
         }
      };
   }
public static PathAndQuery matches ( final String pattern ) { return new PathAndQuery ( pattern ) { @ Override public String toString ( ) { return "PathAndQuery.matches(\"" + pattern + "\")" ; } } ; }
Create a {@link Condition} that compares the current {@link Address#getPathAndQuery()} to the given pattern.
<p>
The given pattern may be parameterized:
<p>
<code>
/example?{param}=foo <br>
/example/{param1}?bar={param2}&p=q <br>
...
</code>
<p>

@param pattern {@link ParameterizedPattern} matching the path and query.

@see ConfigurationRuleParameterBuilder#where(String)
Create a { @link Condition } that compares the current { @link Address#getPathAndQuery () } to the given pattern . <p > The given pattern may be parameterized : <p > <code > / example? { param } = foo <br > / example / { param1 } ?bar = { param2 } &p = q <br > ... < / code > <p >