HttpHelper.RequestRunnable

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

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


Funkcja do wykonywania żą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ą wartość Exception, która wystąpiła podczas wykonywania run().

String getResponse()
String getUrl()

Chronione metody

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ą wartość Exception, która wystąpiła podczas wykonywania run().

Zwroty
Exception

getResponse

public String getResponse ()

Zwroty
String

getUrl

public String getUrl ()

Zwroty
String

Chronione metody

setException

protected void setException (Exception e)

Parametry
e Exception

setResponse

protected void setResponse (String response)

Parametry
response String