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)
สรุป
ผู้สร้างสาธารณะ
คำขอเรียกใช้ได้
public RequestRunnable (String url)
วิธีการสาธารณะ
ยกเลิก
public void cancel ()
ยกเลิกการดำเนินการ
รับข้อยกเว้น
public Exception getException ()
ส่งกลับ Exception
ล่าสุดที่เกิดขึ้นเมื่อดำเนินการรัน ()
รับการตอบสนอง
public String getResponse ()
รับUrl
public String getUrl ()
วิธีการป้องกัน
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)
พารามิเตอร์ |
---|
response | String |