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) .

خلاصه

سازندگان عمومی

RequestRunnable (String url)

روش های عمومی

void cancel ()

عملیات را لغو کنید.

Exception getException ()

آخرین Exception را که هنگام اجرای run() رخ داده است برمی گرداند.

String getResponse ()
String getUrl ()

روش های محافظت شده

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

سازندگان عمومی

RequestRunnable

public RequestRunnable (String url)

مولفه های
url String

روش های عمومی

لغو

public void cancel ()

عملیات را لغو کنید.

getException

public Exception getException ()

آخرین Exception را که هنگام اجرای run() رخ داده است برمی گرداند.

برمی گرداند
Exception

getResponse

public String getResponse ()

برمی گرداند
String

getUrl

public String getUrl ()

برمی گرداند
String

روش های محافظت شده

setException

protected void setException (Exception e)

مولفه های
e Exception

setResponse

protected void setResponse (String response)

مولفه های
response String