public class OkHttpUtilsImpl extends AbstractHttpUtils implements HttpUtils
限定符和类型 | 类和说明 |
---|---|
static class |
OkHttpUtilsImpl.StreamBody |
_bodyRaw, _charset, _cookies, _enablePrintln, _files, _headers, _multipart, _params, _timeout, _url
构造器和说明 |
---|
OkHttpUtilsImpl(java.lang.String url) |
OkHttpUtilsImpl(java.lang.String url,
okhttp3.OkHttpClient client) |
限定符和类型 | 方法和说明 |
---|---|
protected HttpResponse |
execDo(java.lang.String _method,
java.util.concurrent.CompletableFuture<HttpResponse> future) |
bodyJson, bodyRaw, bodyRaw, bodyRaw, bodyRaw, bodyTxt, bodyTxt, charset, cookie, cookieAdd, cookies, cookies, data, data, data, data, delete, enablePrintln, exec, execAsBody, execAsCode, execAsync, get, getRequestCookieString, head, header, headerAdd, headers, headers, multipart, options, patch, post, put, timeout, timeout, tryInitCookies, tryInitFiles, tryInitHeaders, tryInitParams, userAgent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bodyJson, bodyRaw, bodyRaw, bodyRaw, bodyRaw, bodyTxt, bodyTxt, charset, cookie, cookieAdd, cookies, cookies, data, data, data, data, delete, enablePrintln, exec, execAsBody, execAsCode, execAsync, get, head, header, headerAdd, headers, headers, http, http, http, multipart, options, patch, post, put, timeout, timeout, toQueryString, toQueryString, urlEncode, urlEncode, userAgent
public OkHttpUtilsImpl(java.lang.String url)
public OkHttpUtilsImpl(java.lang.String url, okhttp3.OkHttpClient client)
protected HttpResponse execDo(java.lang.String _method, java.util.concurrent.CompletableFuture<HttpResponse> future) throws java.io.IOException
execDo
在类中 AbstractHttpUtils
java.io.IOException