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 istek yapmak için çalıştırılabilir.

Özet

Kamu inşaatçıları

RequestRunnable (String url)

Genel yöntemler

void cancel ()

İşlemi iptal edin.

Exception getException ()

run() gerçekleştirilirken ortaya çıkan son Exception döndürür.

String getResponse ()
String getUrl ()

Korumalı yöntemler

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

Kamu inşaatçıları

İstek Çalıştırılabilir

public RequestRunnable (String url)

Parametreler
url String

Genel yöntemler

iptal etmek

public void cancel ()

İşlemi iptal edin.

getException

public Exception getException ()

run() gerçekleştirilirken ortaya çıkan son Exception döndürür.

İadeler
Exception

Cevap almak

public String getResponse ()

İadeler
String

getUrl

public String getUrl ()

İadeler
String

Korumalı yöntemler

setException

protected void setException (Exception e)

Parametreler
e Exception

setResponse

protected void setResponse (String response)

Parametreler
response String