Skip to content

Reintroduce httpclientbuilder callback - #1037

Merged
l-trotta merged 5 commits into
mainfrom
rest5client-expose-config
Jul 16, 2025
Merged

Reintroduce httpclientbuilder callback#1037
l-trotta merged 5 commits into
mainfrom
rest5client-expose-config

Conversation

@l-trotta

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

Copy link
Copy Markdown
Contributor

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
@github-actions

github-actions Bot commented Jul 15, 2025

Copy link
Copy Markdown

@swallez swallez left a comment

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown

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 <153528055+l-trotta@users.noreply.github.com>
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 <153528055+l-trotta@users.noreply.github.com>
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