code: public static Request setAttribute(final String name, final Object value)
     {
        return new Request() {
           @Override
           public void performHttp(HttpServletRewrite event, EvaluationContext context)
           {
              event.getRequest().setAttribute(name, value);
           }
  
           @Override
           public String toString()
           {
              return "Request.setAttribute(\"" + name + "\", \"" + value + "\")";
           }
        };
     }
docs: Creates an {@link HttpOperation} that calls {@link HttpServletRequest#setAttribute(String, Object)} on the current
  request.
  
  @param name The name of the request attribute
  @param value The value to set