public static Scheme matches(final String pattern)
   {
      return new Scheme(pattern) {
         @Override
         public String toString()
         {
            return "Scheme.matches(\"" + pattern + "\")";
         }
      };
   }
public static Scheme matches(final String pattern)
   {
      return new Scheme(pattern) {
         @Override
         public String toString()
         {
            return "Scheme.matches(\"" + pattern + "\")";
         }
      };
   }
public static Scheme matches ( final String pattern ) { return new Scheme ( pattern ) { @ Override public String toString ( ) { return "Scheme.matches(\"" + pattern + "\")" ; } } ; }
Create a {@link Condition} to inspect the current request scheme, comparing against the given pattern.
<p>
The given pattern may be parameterized using the following format:
<p>
<code>
https<br/>
mailto<br/>
{scheme}</br>
{scheme}-custom <br>
...
</code>
<p>

@param pattern {@link ParameterizedPattern} specifying the {@link Scheme} of the current {@link Address}.

@see {@link ConfigurationRuleParameterBuilder#where(String)}
Create a { @link Condition } to inspect the current request scheme comparing against the given pattern . <p > The given pattern may be parameterized using the following format : <p > <code > https<br / > mailto<br / > { scheme } < / br > { scheme } - custom <br > ... < / code > <p >