HttpHelper.RequestRunnable
public abstract class HttpHelper.RequestRunnable
extends Object
implements IRunUtil.IRunnableResult
Obiekt Java.lang.Object |
↳ | com.android.tradefed.util.net.HttpHelper.RequestRunnable |
Możliwość wykonywania żądań za pomocą IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
.
Streszczenie
Konstruktorzy publiczni
ŻądanieRunnable
public RequestRunnable (String url)
Metody publiczne
anulować
public void cancel ()
Anuluj operację.
uzyskaj wyjątek
public Exception getException ()
Zwraca ostatni Exception
, który wystąpił podczas wykonywania run().
otrzymać odpowiedź
public String getResponse ()
getUrl
public String getUrl ()
Metody chronione
ustaw wyjątek
protected void setException (Exception e)
ustaw odpowiedź
protected void setResponse (String response)
Parametry |
---|
response | String |