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)
.
ملخص
المقاولين العامة
طلب قابل للتشغيل
public RequestRunnable (String url)
الأساليب العامة
يلغي
public void cancel ()
إلغاء العملية.
getException
public Exception getException ()
إرجاع Exception
الأخير الذي حدث عند تنفيذ التشغيل ().
تحصل على رد
public String getResponse ()
getUrl
public String getUrl ()
الأساليب المحمية
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)