We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f2206 commit 6ef0501Copy full SHA for 6ef0501
src/main/java/com/xkcoding/http/HttpUtil.java
@@ -46,7 +46,7 @@ public class HttpUtil {
46
defaultProxy = new com.xkcoding.http.support.java11.HttpClientImpl();
47
}
48
// 基于 okhttp3
49
- if (ClassUtil.isPresent("okhttp3.OkHttpClient", classLoader)) {
+ else if (ClassUtil.isPresent("okhttp3.OkHttpClient", classLoader)) {
50
defaultProxy = new OkHttp3Impl();
51
52
// 基于 httpclient
0 commit comments