public class OkHttpClientConfig extends ClientConfig
Constructor and Description |
---|
OkHttpClientConfig() |
Modifier and Type | Method and Description |
---|---|
okhttp3.ConnectionPool |
getConnectionPool()
获取连接池
|
static OkHttpClientConfig |
of()
创建新的 OkHttpClientConfig
|
OkHttpClientConfig |
setConnectionPool(okhttp3.ConnectionPool connectionPool)
设置连接池
|
enableSSLVerify, getConnectionTimeout, getProxy, getReadTimeout, getSslInfo, isDisableCache, isUseCookieManager, setConnectionTimeout, setDisableCache, setHttpProxy, setProxy, setReadTimeout, setSSLInfo, setTimeout, setUseCookieManager
public static OkHttpClientConfig of()
public okhttp3.ConnectionPool getConnectionPool()
public OkHttpClientConfig setConnectionPool(okhttp3.ConnectionPool connectionPool)
connectionPool
- ConnectionPoolCopyright © 2025. All rights reserved.