public class OkHttpExecutor extends Object implements HttpExecutor
logger| 构造器和说明 |
|---|
OkHttpExecutor() |
OkHttpExecutor(okhttp3.OkHttpClient.Builder builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected okhttp3.OkHttpClient.Builder |
defaultOkHttpClientBuilder() |
void |
doExecute(Request request,
ResponseProcessor processor)
执行http请求
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, connectForBytes, connectForConfigMap, connectForConfigMapList, connectForEntity, connectForEntity, connectForEntity, connectForInputStream, connectForInputStreamSource, connectForMap, connectForMapList, connectForMultipartFile, connectForString, delete, deleteForBytes, deleteForConfigMap, deleteForConfigMapList, deleteForEntity, deleteForEntity, deleteForEntity, deleteForInputStream, deleteForInputStreamSource, deleteForMap, deleteForMapList, deleteForMultipartFile, deleteForString, execute, execute, execute, get, getBytes, getConfigMap, getConfigMapList, getEntity, getEntity, getEntity, getForBytes, getForConfigMap, getForConfigMapList, getForEntity, getForEntity, getForEntity, getForInputStream, getForInputStreamSource, getForMap, getForMapList, getForMultipartFile, getForString, getInputStream, getInputStreamSource, getMap, getMapList, getMultipartFile, getString, head, headForBytes, headForConfigMap, headForConfigMapList, headForEntity, headForEntity, headForEntity, headForInputStream, headForInputStreamSource, headForMap, headForMapList, headForMultipartFile, headForString, isFileRequest, isResourceParam, isResourceParam, options, optionsForBytes, optionsForConfigMap, optionsForConfigMapList, optionsForEntity, optionsForEntity, optionsForEntity, optionsForInputStream, optionsForInputStreamSource, optionsForMap, optionsForMapList, optionsForMultipartFile, optionsForString, patch, patchForBytes, patchForConfigMap, patchForConfigMapList, patchForEntity, patchForEntity, patchForEntity, patchForInputStream, patchForInputStreamSource, patchForMap, patchForMapList, patchForMultipartFile, patchForString, post, postForBytes, postForConfigMap, postForConfigMapList, postForEntity, postForEntity, postForEntity, postForInputStream, postForInputStreamSource, postForMap, postForMapList, postForMultipartFile, postForString, put, putForBytes, putForConfigMap, putForConfigMapList, putForEntity, putForEntity, putForEntity, putForInputStream, putForInputStreamSource, putForMap, putForMapList, putForMultipartFile, putForString, toHttpFile, toHttpFiles, trace, traceForBytes, traceForConfigMap, traceForConfigMapList, traceForEntity, traceForEntity, traceForEntity, traceForInputStream, traceForInputStreamSource, traceForMap, traceForMapList, traceForMultipartFile, traceForStringpublic OkHttpExecutor(okhttp3.OkHttpClient.Builder builder)
public OkHttpExecutor()
public void doExecute(Request request, ResponseProcessor processor) throws Exception
HttpExecutordoExecute 在接口中 HttpExecutorrequest - 请求实例processor - 响应处理器Exceptionprotected okhttp3.OkHttpClient.Builder defaultOkHttpClientBuilder()
Copyright © 2023. All rights reserved.