HttpHelper.RequestRunnable

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

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


Runnable do wysyłania żądań za pomocą IRunUtil.runEscalatingTimedRetry(long,long,long,long,IRunnableResult).

Podsumowanie

Konstruktory publiczne

RequestRunnable(String url)

Metody publiczne

void cancel()

Anuluj operację.

Exception getException()

Zwraca ostatni wyjątek Exception, który wystąpił podczas wykonywania funkcji run().

String getResponse()
String getUrl()

Metody chronione

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

Konstruktory publiczne

RequestRunnable

public RequestRunnable (String url)

Parametry
url String

Metody publiczne

anuluj

public void cancel ()

Anuluj operację.

getException

public Exception getException ()

Zwraca ostatni wyjątek Exception, który wystąpił podczas wykonywania funkcji run().

Zwraca
Exception

getResponse

public String getResponse ()

Zwraca
String

getUrl

public String getUrl ()

Zwraca
String

Metody chronione

setException

protected void setException (Exception e)

Parametry
e Exception

setResponse

protected void setResponse (String response)

Parametry
response String