public class OkHttpClientPool extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ConcurrentHashMap<String,okhttp3.OkHttpClient> |
clients |
| Modifier and Type | Method and Description |
|---|---|
static okhttp3.OkHttpClient |
createClient(RuntimeOptions options) |
static okhttp3.OkHttpClient |
get(URL url,
RuntimeOptions options) |
protected static final ConcurrentHashMap<String,okhttp3.OkHttpClient> clients
public static okhttp3.OkHttpClient get(URL url, RuntimeOptions options) throws MalformedURLException
MalformedURLExceptionpublic static okhttp3.OkHttpClient createClient(RuntimeOptions options)
Copyright © 2025 Webull. All rights reserved.