r01f.httpclient
Class BaseConnectionRetriever.ObtainConnectionTask

java.lang.Object
  extended by r01f.httpclient.BaseConnectionRetriever.ObtainConnectionTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
BaseConnectionRetriever

abstract class BaseConnectionRetriever.ObtainConnectionTask
extends java.lang.Object
implements java.lang.Runnable

Clase auxiliar que encapsula la conexión para implementar el timeout de obtención de conexión.


Field Summary
 java.net.HttpURLConnection conx
           
 java.io.IOException ioException
           
 
Constructor Summary
BaseConnectionRetriever.ObtainConnectionTask()
           
 
Method Summary
abstract  void doit()
          Ejecuta lo que sea...
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conx

public java.net.HttpURLConnection conx

ioException

public java.io.IOException ioException
Constructor Detail

BaseConnectionRetriever.ObtainConnectionTask

BaseConnectionRetriever.ObtainConnectionTask()
Method Detail

doit

public abstract void doit()
                   throws java.io.IOException
Ejecuta lo que sea...

Throws:
java.io.IOException - si ocurre un problema de IO

run

public void run()
Specified by:
run in interface java.lang.Runnable