HttpHelper.RequestRunnable
public abstract class HttpHelper.RequestRunnable
extends Object
implements IRunUtil.IRunnableResult
java.lang.Objeto |
↳ | com.android.tradefed.util.net.HttpHelper.RequestRunnable |
Ejecutable para realizar solicitudes con IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
.
Resumen
Constructores públicos
RequestRunnable
public RequestRunnable (String url)
Métodos públicos
Cancelar
public void cancel ()
Cancelar la operación.
getException
public Exception getException ()
Devuelve el último ERROR(/Exception)
que ocurrió al ejecutar run().
obtener una respuesta
public String getResponse ()
obtener URL
public String getUrl ()
Métodos protegidos
establecerExcepción
protected void setException (Exception e)
establecerRespuesta
protected void setResponse (String response)
Parámetros |
---|
response | String |