HttpHelper.RequestRunnable

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

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


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

Riepilogo

Costruttori pubblici

RequestRunnable(String url)

Metodi pubblici

void cancel()

Annulla 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

RequestRunnable

public RequestRunnable (String url)

Parametri
url String

Metodi pubblici

cancel

public void cancel ()

Annulla l'operazione.

getException

public Exception getException ()

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

Resi
Exception

getResponse

public String getResponse ()

Resi
String

getUrl

public String getUrl ()

Resi
String

Metodi protetti

setException

protected void setException (Exception e)

Parametri
e Exception

setResponse

protected void setResponse (String response)

Parametri
response String