Skip to content

Commit 5b816f0

Browse files
opensearch-trigger-bot[bot]github-actions[bot]psingh3
authored
updated doc for ConnectionConfigCallback (#1674) (#1676)
(cherry picked from commit 0b81acc) Signed-off-by: psingh3 <pushpendra.singh@walmart.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: psingh3 <pushpendra.singh@walmart.com>
1 parent 8fd762f commit 5b816f0

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)