diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-01-10 08:43:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 08:43:57 +0100 |
commit | 0100db79513eb83d4680e9c7c01ee8bff2386075 (patch) | |
tree | 3f18c4bdf774b995805c34ba7273626bbf755722 /vespa-http-client | |
parent | 8a662f6c89dcb4f923625895f7e157057896585b (diff) |
Revert "Bjorncs/java deps cleanup"
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java index ac6a1d7cd22..0e7488c8927 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java @@ -413,7 +413,7 @@ class ApacheGatewayConnection implements GatewayConnection { } else { clientBuilder = HttpClientBuilder.create(); if (connectionParams.getSslContext() != null) { - clientBuilder.setSSLContext(connectionParams.getSslContext()); + clientBuilder.setSslcontext(connectionParams.getSslContext()); } else { SslContextBuilder builder = new SslContextBuilder(); if (connectionParams.getPrivateKey() != null && connectionParams.getCertificate() != null) { @@ -422,7 +422,7 @@ class ApacheGatewayConnection implements GatewayConnection { if (connectionParams.getCaCertificates() != null) { builder.withTrustStore(connectionParams.getCaCertificates()); } - clientBuilder.setSSLContext(builder.build()); + clientBuilder.setSslcontext(builder.build()); } if (connectionParams.getHostnameVerifier() != null) { clientBuilder.setSSLHostnameVerifier(connectionParams.getHostnameVerifier()); |