Skip to content

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

Merged
merged 5 commits into from
Jul 16, 2025
Merged

Conversation

l-trotta
Copy link
Contributor

@l-trotta l-trotta commented Jul 15, 2025

Exposing more configurations from the underlying apache http rest client

@l-trotta l-trotta force-pushed the rest5client-expose-config branch from 103aa10 to 3cd37a5 Compare July 15, 2025 12:48
Copy link

github-actions bot commented Jul 15, 2025

Copy link
Member

@swallez swallez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@l-trotta l-trotta changed the title Extend rest5 client builder with more setters Reintroduce httpclientbuilder callback Jul 15, 2025
Comment on lines 329 to 330
* value that the {@link Rest5ClientBuilder} internally sets, except if RequestConfig,
* ConnectionConfig and ConnectionManager are set through this callback.

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?

@l-trotta l-trotta merged commit 2c4e974 into main Jul 16, 2025
13 checks passed
@l-trotta l-trotta deleted the rest5client-expose-config branch July 16, 2025 09:10
github-actions bot pushed a commit that referenced this pull request Jul 16, 2025
* add config callback to rest5 builder

* modern java, updated docs

* checkstyle

* more callbacks
github-actions bot pushed a commit that referenced this pull request Jul 16, 2025
* add config callback to rest5 builder

* modern java, updated docs

* checkstyle

* more callbacks
l-trotta added a commit that referenced this pull request Jul 16, 2025
* add config callback to rest5 builder

* modern java, updated docs

* checkstyle

* more callbacks

Co-authored-by: Laura Trotta <[email protected]>
l-trotta added a commit that referenced this pull request Jul 16, 2025
* add config callback to rest5 builder

* modern java, updated docs

* checkstyle

* more callbacks

Co-authored-by: Laura Trotta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants