public class RequestCall
extends java.lang.Object
| 构造器和说明 |
|---|
RequestCall(OkHttpRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
okhttp3.Call |
buildCall(Callback callback) |
void |
cancel() |
RequestCall |
connTimeOut(long connTimeOut) |
okhttp3.Response |
execute() |
void |
execute(Callback callback) |
okhttp3.Call |
getCall() |
OkHttpRequest |
getOkHttpRequest() |
okhttp3.Request |
getRequest() |
RequestCall |
readTimeOut(long readTimeOut) |
RequestCall |
writeTimeOut(long writeTimeOut) |
public RequestCall(OkHttpRequest request)
public RequestCall readTimeOut(long readTimeOut)
public RequestCall writeTimeOut(long writeTimeOut)
public RequestCall connTimeOut(long connTimeOut)
public okhttp3.Call buildCall(Callback callback)
public void execute(Callback callback)
public okhttp3.Call getCall()
public okhttp3.Request getRequest()
public OkHttpRequest getOkHttpRequest()
public okhttp3.Response execute()
throws java.io.IOException
java.io.IOExceptionpublic void cancel()