HttpHelper.RequestRunnable

public abstract class HttpHelper.RequestRunnable
extends Object implements IRunUtil.IRunnableResult

java.lang.Object
com.android.tradefed.util.net.HttpHelper.RequestRunnable


Eseguibile per effettuare richieste con IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) .

Riepilogo

Costruttori pubblici

RequestRunnable (String url)

Metodi pubblici

void cancel ()

Annullare l'operazione.

Exception getException ()

Restituisce l'ultima Exception che si è verificata durante l'esecuzione di run().

String getResponse ()
String getUrl ()

Metodi protetti

void setException (Exception e)
void setResponse (String response)

Costruttori pubblici

RichiestaEseguibile

public RequestRunnable (String url)

Parametri
url String

Metodi pubblici

Annulla

public void cancel ()

Annullare l'operazione.

getException

public Exception getException ()

Restituisce l'ultima Exception che si è verificata durante l'esecuzione di run().

ritorna
Exception

getResponse

public String getResponse ()

ritorna
String

getUrl

public String getUrl ()

ritorna
String

Metodi protetti

setException

protected void setException (Exception e)

Parametri
e Exception

setResponse

protected void setResponse (String response)

Parametri
response String