HttpHelper.RequestRunnable
public abstract class HttpHelper.RequestRunnable
extends Object
implements IRunUtil.IRunnableResult
java.lang.Nesne |
↳ | com.android.tradefed.util.net.HttpHelper.RequestRunnable |
IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
ile istek yapmak için çalıştırılabilir.
Özet
Kamu inşaatçıları
İstekÇalıştırılabilir
public RequestRunnable (String url)
Genel yöntemler
iptal etmek
public void cancel ()
İşlemi iptal edin.
getException
public Exception getException ()
run() gerçekleştirilirken oluşan son Exception
döndürür.
yanıt almak
public String getResponse ()
getUrl
public String getUrl ()
Korumalı yöntemler
setException
protected void setException (Exception e)
setYanıt
protected void setResponse (String response)
parametreler |
---|
response | String |