us.monoid.web
Class Resty.Timeout
java.lang.Object
us.monoid.web.Resty.Option
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.
Method Summary |
void |
apply(URLConnection urlConnection)
Override this to get access to the URLConnection before the actual connection is made. |
Resty.Timeout
public Resty.Timeout(int t)
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.