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
public RequestRunnable (String url)
שיטות ציבוריות
לְבַטֵל
public void cancel ()
בטל את הפעולה.
getException
public Exception getException ()
מחזירה את Exception
האחרון שהתרחש בעת ביצוע run().
קבל תגובה
public String getResponse ()
getUrl
public String getUrl ()
שיטות מוגנות
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)