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

סיכום

‫constructors ציבוריים

RequestRunnable(String url)

‫methods ציבוריים

void cancel()

מבטלים את הפעולה.

Exception getException()

מחזירה את Exception האחרון שהתרחש כשמבצעים את הפונקציה run().

String getResponse()
String getUrl()

שיטות מוגנות

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

‫constructors ציבוריים

RequestRunnable

public RequestRunnable (String url)

פרמטרים
url String

‫methods ציבוריים

ביטול

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