Package ej.rest.web
Class Resty.Timeout
- java.lang.Object
-
- ej.rest.web.Resty.Option
-
- ej.rest.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
Constructors Constructor Description Timeout(int t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(URLConnection urlConnection)Override this to get access to the URLConnection before the actual connection is made.-
Methods inherited from class ej.rest.web.Resty.Option
init, timeout
-
-
-
-
Method Detail
-
apply
public void apply(URLConnection urlConnection)
Description copied from class:Resty.OptionOverride this to get access to the URLConnection before the actual connection is made.- Overrides:
applyin classResty.Option
-
-