Class CommonHttpClient.TimeoutThread

java.lang.Object
java.lang.Thread
de.galan.commons.net.flux.CommonHttpClient.TimeoutThread
All Implemented Interfaces:
Runnable
Enclosing class:
CommonHttpClient

public static class CommonHttpClient.TimeoutThread extends Thread
Some sites may have timeouts, but the connection timeout does not seem to work reliably. Therefore this Thread can be used to force quiting the blocking thread. (The initial problematic site was http://www.qionghaifc.com/)
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread