370966: RewriteHandler javadoc config example fix

This commit is contained in:
Thomas Becker 2012-02-09 16:10:57 +01:00 committed by Jesse McConnell
parent 94c979f2b2
commit 9adabd0f2a
1 changed files with 36 additions and 36 deletions

View File

@ -55,8 +55,7 @@ import org.eclipse.jetty.server.handler.HandlerWrapper;
*
* Here is a typical jetty.xml configuration would be: <pre>
*
* &lt;Set name="handler"&gt;
* &lt;New id="Handlers" class="org.eclipse.jetty.rewrite.handler.RewriteHandler"&gt;
* &lt;New id="RewriteHandler" class="org.eclipse.jetty.rewrite.handler.RewriteHandler"&gt;
* &lt;Set name="rules"&gt;
* &lt;Array type="org.eclipse.jetty.rewrite.handler.Rule"&gt;
*
@ -143,16 +142,20 @@ import org.eclipse.jetty.server.handler.HandlerWrapper;
* &lt;/Call&gt;
*
* &lt;/New&gt;
* &lt;/ Item&gt;
* &lt;/Item&gt;
*
* &lt;/Array&gt;
* &lt;/Set&gt;
* &lt;/New&gt;
*
* &lt;Set name="handler"&gt;
* &lt;New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection"&gt;
* &lt;Set name="handlers"&gt;
* &lt;Array type="org.eclipse.jetty.server.Handler"&gt;
* &lt;Item&gt;
* &lt;Ref id="RewriteHandler"/&gt;
* &lt;/Item&gt;
* &lt;Item&gt;
* &lt;New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/&gt;
* &lt;/Item&gt;
* &lt;Item&gt;
@ -165,9 +168,6 @@ import org.eclipse.jetty.server.handler.HandlerWrapper;
* &lt;/Set&gt;
* &lt;/New&gt;
* &lt;/Set&gt;
*
* &lt;/New&gt;
* &lt;/Set&gt;
* </pre>
*
*/