From ba0ee9f216df2341f18d5c801f6069b48e1dbcb3 Mon Sep 17 00:00:00 2001 From: Jesse McConnell Date: Mon, 26 Sep 2011 17:50:12 -0500 Subject: [PATCH] [Bug 358925] bit more javadoc on usage --- .../java/org/eclipse/jetty/rewrite/handler/ProxyRule.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java b/jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java index be6d8ad0f5e..99c6877e52b 100644 --- a/jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java +++ b/jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java @@ -38,6 +38,14 @@ import org.eclipse.jetty.util.thread.QueuedThreadPool; /** * This rule allows the user to configure a particular rewrite rule that will proxy out * to a configured location. This rule uses the jetty http client. + * + * Rule rule = new ProxyRule(); + * rule.setPattern("/foo/*"); + * rule.setProxyTo("http://url.com"); + * + * see api for other configuration options which influence the configuration of the jetty + * client instance + * */ public class ProxyRule extends PatternRule {