-
Notifications
You must be signed in to change notification settings - Fork 267
Reintroduce httpclientbuilder callback #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
103aa10
to
3cd37a5
Compare
...nt/src/main/java/co/elastic/clients/transport/rest5_client/low_level/Rest5ClientBuilder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* value that the {@link Rest5ClientBuilder} internally sets, except if RequestConfig, | ||
* ConnectionConfig and ConnectionManager are set through this callback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you consider lower-level call backs for these three (RequestConfig
, ConnectionConfig
, and ConnectionManager
) so that they too can be fine-tuned without also losing their defaults?
* add config callback to rest5 builder * modern java, updated docs * checkstyle * more callbacks
* add config callback to rest5 builder * modern java, updated docs * checkstyle * more callbacks
* add config callback to rest5 builder * modern java, updated docs * checkstyle * more callbacks Co-authored-by: Laura Trotta <[email protected]>
* add config callback to rest5 builder * modern java, updated docs * checkstyle * more callbacks Co-authored-by: Laura Trotta <[email protected]>
Exposing more configurations from the underlying apache http rest client