config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/RequestParameter.java
public static RequestParameter captureValue(final String name)
   {
      return new RequestParameter(name, "{" + name + "}") {

         @Override
         public String toString()
         {
            return "RequestParameter.captureValue(\"" + name + "\")";
         }

         @Override
         public boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
         {
            super.evaluateHttp(event, context);
            return true;
         }

      };
   }
public static RequestParameter captureValue(final String name)
   {
      return new RequestParameter(name, "{" + name + "}") {

         @Override
         public String toString()
         {
            return "RequestParameter.captureValue(\"" + name + "\")";
         }

         @Override
         public boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
         {
            super.evaluateHttp(event, context);
            return true;
         }

      };
   }
public static RequestParameter captureValue ( final String name ) { return new RequestParameter ( name , "{" + name + "}" ) { @ Override public String toString ( ) { return "RequestParameter.captureValue(\"" + name + "\")" ; } @ Override public boolean evaluateHttp ( HttpServletRewrite event , EvaluationContext context ) { super . evaluateHttp ( event , context ) ; return true ; } } ; }
Creates a {@link RequestParameter} condition that will capture the value of the the given request parameter if it
exists so you can bind to it using <code>.where()</code>.

@param name The name of the request parameter
Creates a { @link RequestParameter } condition that will capture the value of the the given request parameter if it exists so you can bind to it using <code > . where () < / code > .