config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/RequestParameter.java
public static RequestParameter matches(final String name, final String value)
   {
      return new RequestParameter(name, value) {
         @Override
         public String toString()
         {
            return "RequestParameter.matches(\"" + name + "\", \"" + value + "\")";
         }
      };
   }
public static RequestParameter matches(final String name, final String value)
   {
      return new RequestParameter(name, value) {
         @Override
         public String toString()
         {
            return "RequestParameter.matches(\"" + name + "\", \"" + value + "\")";
         }
      };
   }
Create a {@link Condition} that matches against both request parameter names and values.
<p>
Parameter name and value expressions may be parameterized:
<p>
<code>
RequestParameter.matches("username", "guest")<br/>
RequestParameter.matches("username", "{name}")<br/>
RequestParameter.matches("{anything}", "{value}")<br/>
</code>

@param name {@link ParameterizedPattern} matching the request parameter name.
@param value {@link ParameterizedPattern} matching the request parameter value.

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