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

run() の実行時に発生した最後のERROR(/Exception)を返します。

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

run() の実行時に発生した最後のERROR(/Exception)を返します。

戻り値
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