HttpHelper.RequestRunnable

public abstract class HttpHelper.RequestRunnable
extends Object implements IRunUtil.IRunnableResult

java.lang.অবজেক্ট
com.android.tradefed.util.net.HttpHelper.RequestRunnable


IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) দিয়ে অনুরোধ করার জন্য রানযোগ্য।

সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

RequestRunnable (String url)

পাবলিক পদ্ধতি

void cancel ()

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

Exception getException ()

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

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