Class 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/)