config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/PathAndQuery.java
public static PathAndQuery captureIn(final String param)
   {
      PathAndQuery path = new PathAndQuery("{" + param + "}") {
         @Override
         public String toString()
         {
            return "PathAndQuery.captureIn(\"" + param + "\")";
         }
      };
      path.captureIn = param;
      return path;
   }
public static PathAndQuery captureIn(final String param)
   {
      PathAndQuery path = new PathAndQuery("{" + param + "}") {
         @Override
         public String toString()
         {
            return "PathAndQuery.captureIn(\"" + param + "\")";
         }
      };
      path.captureIn = param;
      return path;
   }
Capture the entire path portion of the {@link Address} into the given {@link Parameter}.

@param param the name of the {@link Parameter} to which the entire path portion of the {@link Address} will be
bound.