[Bug 358925] bit more javadoc on usage

This commit is contained in:
Jesse McConnell 2011-09-26 17:50:12 -05:00
parent 7bc092bf8b
commit ba0ee9f216
1 changed files with 8 additions and 0 deletions

View File

@ -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
{