Skip to content

Commit ae09689

Browse files
author
psingh3
committed
updated doc for ConnectionConfigCallback
Signed-off-by: psingh3 <pushpendra.singh@walmart.com>
1 parent 338656e commit ae09689

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

java-client/src/main/java/org/opensearch/client/transport/httpclient5/ApacheHttpClient5TransportBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ public interface RequestConfigCallback {
409409
/**
410410
* Callback used the default {@link ConnectionConfig} being set to the {@link CloseableHttpClient}.
411411
* The connectTimeout setting has been moved from {@link RequestConfig} to {@link ConnectionConfig}.
412-
* @see HttpClientBuilder#setDefaultRequestConfig
412+
* Should not be used if you are using {@link HttpClientBuilder#setConnectionManager} within {@link HttpClientConfigCallback}, as anything passed here will be overridden.
413+
* @see PoolingAsyncClientConnectionManager#setDefaultConnectionConfig
413414
*/
414415
public interface ConnectionConfigCallback {
415416
/**

0 commit comments

Comments
 (0)