config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/Header.java
public static Header matches(final String name, final String value)
   {
      return new Header(name, value) {
         @Override
         public String toString()
         {
            return "Header.matches(\"" + name + "\", \"" + value + "\")";
         }
      };
   }
public static Header matches(final String name, final String value)
   {
      return new Header(name, value) {
         @Override
         public String toString()
         {
            return "Header.matches(\"" + name + "\", \"" + value + "\")";
         }
      };
   }
Create a {@link Header} condition that matches against both header name and values.
<p>
The given name and value patterns may be parameterized:
<p>
<code>
Header.matches("Accept-Encoding", "{encoding}")<br>
Header.matches("Accept-{type}", "{value}")<br>
...
</code>
<p>

@see {@link ConfigurationRuleParameterBuilder#where(String) {@link HttpServletRequest#getHeader(String)}

@param name {@link ParameterizedPattern} matching the header name.
@param value {@link ParameterizedPattern} matching the header value.