com.github.axet.wget
Class RetryWrap
java.lang.Object
com.github.axet.wget.RetryWrap
public class RetryWrap
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RETRY_DELAY
public static final int RETRY_DELAY
- See Also:
- Constant Field Values
RetryWrap
public RetryWrap()
run
public static <T> T run(AtomicBoolean stop,
RetryWrap.WrapReturn<T> r)
wrap
public static <T> T wrap(AtomicBoolean stop,
RetryWrap.WrapReturn<T> r)
wrap
public static void wrap(AtomicBoolean stop,
RetryWrap.Wrap r)
check
public static void check(HttpURLConnection c)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.