HttpHelper.RequestRunnable
public abstract class HttpHelper.RequestRunnable
extends Object
implements IRunUtil.IRunnableResult
java.lang.Object |
↳ | com.android.tradefed.util.net.HttpHelper.RequestRunnable |
Runnable để 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
Các nhà xây dựng công cộng
RequestRunnable
public RequestRunnable (String url)
Phương pháp công khai
sự hủy bỏ
public void cancel ()
Hủy bỏ hoạt động.
getException
public Exception getException ()
Trả về Exception
cuối cùng đã xảy ra khi thực hiện run ().
nhận được phản ứng
public String getResponse ()
getUrl
public String getUrl ()
Các phương pháp được bảo vệ
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)