HttpHelper.RequestRunnable

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

java.lang.Object
   ↳ com.android.tradefed.util.net.HttpHelper.RequestRunnable


Runnable สำหรับการส่งคำขอด้วย IRunUtil.runEscalatingTimedRetry(long,long,long,long,IRunnableResult)

สรุป

เครื่องมือสร้างสาธารณะ

RequestRunnable(String url)

เมธอดสาธารณะ

void cancel()

ยกเลิกการดำเนินการ

Exception getException()

แสดงผล Exception สุดท้ายที่เกิดขึ้นเมื่อเรียกใช้ run()

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 สุดท้ายที่เกิดขึ้นเมื่อเรียกใช้ 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