config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/Substitute.java
public static Substitute with(final String location)
   {
      return new Substitute(location) {
         @Override
         public String toString()
         {
            return "Substitute.with(\"" + location + "\")";
         }
      };
   }
public static Substitute with(final String location)
   {
      return new Substitute(location) {
         @Override
         public String toString()
         {
            return "Substitute.with(\"" + location + "\")";
         }
      };
   }
Substitute the current {@link Address} with the given location.
<p>
The given location may be parameterized:
<p>
INBOUND:<br/>
<code>
/example/{param}.html <br>
/css/{value}.css <br>
...
</code>
<p>
OUTBOUND:<br/>
<code>
www.example.com/path/file.html <br>
www.example.com/path/{resource}.html <br>
...
</code>
<p>

@param location {@link ParameterizedPattern} specifying the new {@link Address}.

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