@@ -97,7 +97,7 @@ public class DefaultAsyncHttpClientConfig implements AsyncHttpClientConfig {
97
97
// ssl
98
98
private final boolean useOpenSsl ;
99
99
private final boolean useInsecureTrustManager ;
100
- private final boolean disableHttpsAlgorithm ;
100
+ private final boolean disableHttpsEndpointIdentificationAlgorithm ;
101
101
private final int handshakeTimeout ;
102
102
private final String [] enabledProtocols ;
103
103
private final String [] enabledCipherSuites ;
@@ -172,7 +172,7 @@ private DefaultAsyncHttpClientConfig(//
172
172
// ssl
173
173
boolean useOpenSsl ,//
174
174
boolean useInsecureTrustManager ,//
175
- boolean disableHttpsAlgorithm ,//
175
+ boolean disableHttpsEndpointIdentificationAlgorithm ,//
176
176
int handshakeTimeout ,//
177
177
String [] enabledProtocols ,//
178
178
String [] enabledCipherSuites ,//
@@ -248,7 +248,7 @@ private DefaultAsyncHttpClientConfig(//
248
248
// ssl
249
249
this .useOpenSsl = useOpenSsl ;
250
250
this .useInsecureTrustManager = useInsecureTrustManager ;
251
- this .disableHttpsAlgorithm = disableHttpsAlgorithm ;
251
+ this .disableHttpsEndpointIdentificationAlgorithm = disableHttpsEndpointIdentificationAlgorithm ;
252
252
this .handshakeTimeout = handshakeTimeout ;
253
253
this .enabledProtocols = enabledProtocols ;
254
254
this .enabledCipherSuites = enabledCipherSuites ;
@@ -441,8 +441,8 @@ public boolean isUseInsecureTrustManager() {
441
441
}
442
442
443
443
@ Override
444
- public boolean isDisableHttpsAlgorithm () {
445
- return disableHttpsAlgorithm ;
444
+ public boolean isDisableHttpsEndpointIdentificationAlgorithm () {
445
+ return disableHttpsEndpointIdentificationAlgorithm ;
446
446
}
447
447
448
448
@ Override
@@ -655,7 +655,7 @@ public static class Builder {
655
655
// ssl
656
656
private boolean useOpenSsl = defaultUseOpenSsl ();
657
657
private boolean useInsecureTrustManager = defaultUseInsecureTrustManager ();
658
- private boolean disableHttpsAlgorithm = defaultDisableHttpsAlgorithm ();
658
+ private boolean disableHttpsEndpointIdentificationAlgorithm = defaultDisableHttpsEndpointIdentificationAlgorithm ();
659
659
private int handshakeTimeout = defaultHandshakeTimeout ();
660
660
private String [] enabledProtocols = defaultEnabledProtocols ();
661
661
private String [] enabledCipherSuites = defaultEnabledCipherSuites ();
@@ -934,8 +934,8 @@ public Builder setUseInsecureTrustManager(boolean useInsecureTrustManager) {
934
934
return this ;
935
935
}
936
936
937
- public Builder setDisableHttpsAlgorithm (boolean disableHttpsAlgorithm ) {
938
- this .useInsecureTrustManager = disableHttpsAlgorithm ;
937
+ public Builder setDisableHttpsEndpointIdentificationAlgorithm (boolean disableHttpsEndpointIdentificationAlgorithm ) {
938
+ this .disableHttpsEndpointIdentificationAlgorithm = disableHttpsEndpointIdentificationAlgorithm ;
939
939
return this ;
940
940
}
941
941
@@ -1167,7 +1167,7 @@ public DefaultAsyncHttpClientConfig build() {
1167
1167
keepAliveStrategy , //
1168
1168
useOpenSsl , //
1169
1169
useInsecureTrustManager , //
1170
- disableHttpsAlgorithm , //
1170
+ disableHttpsEndpointIdentificationAlgorithm , //
1171
1171
handshakeTimeout , //
1172
1172
enabledProtocols , //
1173
1173
enabledCipherSuites , //
0 commit comments