HttpHelper.RequestRunnable

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

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


IRunUtil.runEscalatingTimedRetry(long,long,long,long,IRunnableResult) ile istekte bulunmak için çalıştırılabilir.

Özet

Herkese açık oluşturucular

RequestRunnable(String url)

Herkese açık yöntemler

void cancel()

İşlemi iptal edin.

Exception getException()

run() işlevi yürütülürken gerçekleşen son Exception değerini döndürür.

String getResponse()
String getUrl()

Korunan yöntemler

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

Herkese açık oluşturucular

RequestRunnable

public RequestRunnable (String url)

Parametreler
url String

Herkese açık yöntemler

iptal

public void cancel ()

İşlemi iptal edin.

getException

public Exception getException ()

run() işlevi yürütülürken gerçekleşen son Exception değerini döndürür.

İadeler
Exception

getResponse

public String getResponse ()

İadeler
String

getUrl

public String getUrl ()

İadeler
String

Korunan yöntemler

setException

protected void setException (Exception e)

Parametreler
e Exception

setResponse

protected void setResponse (String response)

Parametreler
response String