| Package | Description |
|---|---|
| com.hb0730.https | |
| com.hb0730.https.inter | |
| com.hb0730.https.support.httpclient | |
| com.hb0730.https.support.hutool | |
| com.hb0730.https.support.okhttp3 |
| Modifier and Type | Method and Description |
|---|---|
HttpAsync |
HttpAsync.setHttpConfig(HttpConfig config) |
HttpSync |
HttpSync.setHttpConfig(HttpConfig config) |
| Modifier and Type | Field and Description |
|---|---|
protected HttpConfig |
AbstractSyncHttp.httpConfig |
protected HttpConfig |
AbstractAsyncHttp.httpConfig |
| Modifier and Type | Method and Description |
|---|---|
HttpConfig |
AbstractSyncHttp.getHttpConfig() |
HttpConfig |
AbstractAsyncHttp.getHttpConfig() |
| Modifier and Type | Method and Description |
|---|---|
AbstractSyncHttp |
AbstractSyncHttp.setHttpConfig(HttpConfig httpConfig) |
AbstractAsyncHttp |
AbstractAsyncHttp.setHttpConfig(HttpConfig httpConfig) |
| Constructor and Description |
|---|
AbstractAsyncHttp(HttpConfig httpConfig) |
AbstractSyncHttp(HttpConfig httpConfig) |
| Constructor and Description |
|---|
HttpClientAsyncImpl(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient,
HttpConfig config) |
HttpClientAsyncImpl(HttpConfig config) |
HttpClientSyncImpl(HttpConfig httpConfig,
org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
default cn.hutool.http.HttpRequest |
IHutoolHttp.getHttpRequest(cn.hutool.core.net.url.UrlBuilder builder,
cn.hutool.http.Method method,
HttpConfig config,
HttpHeader header)
create hutool request
|
| Constructor and Description |
|---|
HutoolAsyncImpl(HttpConfig httpConfig) |
HutoolSyncImpl(HttpConfig httpConfig) |
| Modifier and Type | Method and Description |
|---|---|
default okhttp3.OkHttpClient |
IOkhttp3.buildClient(okhttp3.OkHttpClient.Builder clientBuilder,
HttpConfig config)
构建 OkHttpClient
|
| Constructor and Description |
|---|
OkHttp3AsyncImpl(HttpConfig config) |
OkHttp3AsyncImpl(okhttp3.OkHttpClient.Builder clientBuilder,
HttpConfig config) |
OkHttp3SyncImpl(HttpConfig config) |
OkHttp3SyncImpl(okhttp3.OkHttpClient.Builder clientBuilder,
HttpConfig config) |
Copyright © 2022. All rights reserved.