Class UrlTester

java.lang.Object
sec.web.renderer.UrlTester
All Implemented Interfaces:
Runnable

public class UrlTester extends Object implements Runnable
Author:
michael.spinelli
  • Constructor Details

    • UrlTester

      public UrlTester(String url, String name, int timeout, int retries)
      Parameters:
      url - URL being tested
      name - Name of the site or service
      timeout - # of seconds to wait for reply
      retries - max # of times we try to connect
  • Method Details

    • setTimeoutInSeconds

      public void setTimeoutInSeconds(int timeout)
    • setRetryDurationInSeconds

      public void setRetryDurationInSeconds(int duration)
      Deprecated.
      Parameters:
      duration -
    • setRetyCount

      public void setRetyCount(int retries)
    • isAvailable

      public Boolean isAvailable()
    • setVerbose

      public void setVerbose(boolean verbose)
    • run

      public void run()
      Specified by:
      run in interface Runnable