Documentation fix.

Original Pull Request #1663
Closes #1662

(cherry picked from commit 1aabb42355e07f9d6e65a2a0d02569b3a0f01a2d)
This commit is contained in:
Peter-Josef Meisch 2021-01-23 19:59:46 +01:00
parent 3105e609d2
commit 007114ffb7
No known key found for this signature in database
GPG Key ID: DE108246970C7708

View File

@ -153,7 +153,7 @@ ClientConfiguration clientConfiguration = ClientConfiguration.builder()
.connectedTo("localhost:9200", "localhost:9291") <2> .connectedTo("localhost:9200", "localhost:9291") <2>
.withConnectTimeout(Duration.ofSeconds(5)) <3> .withConnectTimeout(Duration.ofSeconds(5)) <3>
.withSocketTimeout(Duration.ofSeconds(3)) <4> .withSocketTimeout(Duration.ofSeconds(3)) <4>
.useSsl() <5> .usingSsl() <5>
.withDefaultHeaders(defaultHeaders) <6> .withDefaultHeaders(defaultHeaders) <6>
.withBasicAuth(username, password) <7> .withBasicAuth(username, password) <7>
. // ... other options . // ... other options