Można uruchomić żądanie HttpHelper.RequestRunnable

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

java.lang.Object
com.android.tradefed.util.net.HttpHelper.RequestRunnable (Uruchomienie żądania)


Gotowe 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 ostatnie zdarzenie Exception, które wystąpiło podczas wykonywania funkcji run().

String getResponse()
String getUrl()

Metody chronione

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

Konstruktory publiczne

Można uruchomić żądanie

public RequestRunnable (String url)

Parametry
url String

Metody publiczne

anuluj

public void cancel ()

Anuluj operację.

getWyjątek

public Exception getException ()

Zwraca ostatnie zdarzenie Exception, które wystąpiło podczas wykonywania funkcji run().

Zwroty
Exception

getResponse

public String getResponse ()

Zwroty
String

getUrl

public String getUrl ()

Zwroty
String

Metody chronione

setWyjątek

protected void setException (Exception e)

Parametry
e Exception

setResponse

protected void setResponse (String response)

Parametry
response String