us.monoid.web
Class Resty.Timeout

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

public static class Resty.Timeout
extends Resty.Option

Option to set a timeout. Use the static timeout method for added convenience.


Constructor Summary
Resty.Timeout(int t)
           
 
Method Summary
 void apply(URLConnection urlConnection)
          Override this to get access to the URLConnection before the actual connection is made.
 
Methods inherited from class us.monoid.web.Resty.Option
init, proxy, timeout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resty.Timeout

public Resty.Timeout(int t)
Method Detail

apply

public void apply(URLConnection urlConnection)
Description copied from class: Resty.Option
Override this to get access to the URLConnection before the actual connection is made.

Overrides:
apply in class Resty.Option


Copyright © 2013. All Rights Reserved.