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() সম্পাদন করার সময় ঘটা সর্বশেষ Exception ফেরত দেয়।

String getResponse ()
String getUrl ()

সুরক্ষিত পদ্ধতি

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

সরকারি নির্মাণকারী

অনুরোধ চালানো যাবে

public RequestRunnable (String url)

প্যারামিটার
url String

জনসাধারণের পদ্ধতি

বাতিল করুন

public void cancel ()

অপারেশনটি বাতিল করুন।

getException

public Exception getException ()

run() সম্পাদন করার সময় ঘটা সর্বশেষ Exception ফেরত দেয়।

ফেরত
Exception

প্রতিক্রিয়া পান

public String getResponse ()

ফেরত
String

getUrl

public String getUrl ()

ফেরত
String

সুরক্ষিত পদ্ধতি

setException

protected void setException (Exception e)

প্যারামিটার
e Exception

সেটরেসপন্স

protected void setResponse (String response)

প্যারামিটার
response String