Class UrlChecker


  • public final class UrlChecker
    extends java.lang.Object
    An utility to probe a given url until it becomes available.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void waitUntilAvailable​(java.net.URL url, int timeoutMs)
      Probes url until it becomes available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • waitUntilAvailable

        public static void waitUntilAvailable​(java.net.URL url,
                                              int timeoutMs)
        Probes url until it becomes available.