HttpHelper.RequestRunnable

public abstract class HttpHelper.RequestRunnable
extends Object implements IRunUtil.IRunnableResult

java.lang.Object
com.android.tradefed.util.net.HttpHelper.RequestRunnable


IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) 사용하여 요청을 만들기 위해 실행 가능합니다.

요약

공개 생성자

RequestRunnable (String url)

공개 메소드

void cancel ()

작업을 취소하십시오.

Exception getException ()

run()을 수행할 때 발생한 마지막 Exception 반환합니다.

String getResponse ()
String getUrl ()

보호된 방법

void setException (Exception e)
void setResponse (String response)

공개 생성자

RequestRunnable

public RequestRunnable (String url)

매개변수
url String

공개 메소드

취소

public void cancel ()

작업을 취소하십시오.

getException

public Exception getException ()

run()을 수행할 때 발생한 마지막 Exception 반환합니다.

보고
Exception

getResponse

public String getResponse ()

보고
String

getUrl

public String getUrl ()

보고
String

보호된 방법

setException

protected void setException (Exception e)

매개변수
e Exception

setResponse

protected void setResponse (String response)

매개변수
response String