HttpHelper.RequestRunnable
public abstract class HttpHelper.RequestRunnable
extends Object
implements IRunUtil.IRunnableResult
java.lang.Object |
↳ | com.android.tradefed.util.net.HttpHelper.RequestRunnable |
Có thể chạy được để thực hiện các yêu cầu với IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
.
Bản tóm tắt
nhà thầu công cộng
RequestRunnable
public RequestRunnable (String url)
Phương thức công khai
Hủy bỏ
public void cancel ()
Hủy thao tác.
getException
public Exception getException ()
Trả về ERROR(/Exception)
cuối cùng xảy ra khi thực hiện run().
nhận được phản ứng
public String getResponse ()
lấyUrl
public String getUrl ()
phương pháp được bảo vệ
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)