us.monoid.web
Class Resty.Proxy

java.lang.Object
  extended by us.monoid.web.Resty.Option
      extended by us.monoid.web.Resty.Proxy
Enclosing class:
Resty

public static class Resty.Proxy
extends Resty.Option

Option to set the proxy for a Resty instance.


Constructor Summary
Resty.Proxy(String aHost, int aPort)
           
 
Method Summary
 void init(Resty resty)
          Callback from Resty when the option is set on the Resty instance.
 
Methods inherited from class us.monoid.web.Resty.Option
apply, proxy, timeout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resty.Proxy

public Resty.Proxy(String aHost,
                   int aPort)
Method Detail

init

public void init(Resty resty)
Description copied from class: Resty.Option
Callback from Resty when the option is set on the Resty instance. Called before any connection is made. Override to set initial properties

Overrides:
init in class Resty.Option


Copyright © 2013. All Rights Reserved.