HttpHelper.RequestRunnable
public
abstract
class
HttpHelper.RequestRunnable
extends Object
implements
IRunUtil.IRunnableResult
java.lang.Object
|
↳ |
com.android.tradefed.util.net.HttpHelper.RequestRunnable
|
Runnable for making requests with
IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
.
Summary
Public constructors
RequestRunnable
public RequestRunnable (String url)
Public methods
cancel
public void cancel ()
Cancel the operation.
getException
public Exception getException ()
Returns the last Exception
that occurred when performing run().
getResponse
public String getResponse ()
getUrl
public String getUrl ()
Protected methods
setException
protected void setException (Exception e)
setResponse
protected void setResponse (String response)
Parameters |
response |
String |