-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: noteworthyA noteworthy issue to call out in the release notesA noteworthy issue to call out in the release notestype: enhancementA general enhancementA general enhancement
Milestone
Description
As of spring-projects/spring-framework#28925, Spring Framework doesn't configure the Apache HttpComponents client 4.x, as this generation is not maintained anymore. The implementation has switched to using the httpclient5 generation.
Besides adapting our auto-configuration and various tests, we also need to consider:
- how we should adapt our
RestTemplateBuilder
in light of the deprecation of thesetReadTimeout
method on the request factory - whether we want to completely remove our usage of this client (in devtools, buildpacks and CLI support)
- whether dependency management for the 4.x generation is still required as a result
The 5.1.x documentation has interesting bits of documentation about migrating to the "classic" API as well as typical client usage examples.
This change should be reflected in our own migration guide.
Metadata
Metadata
Assignees
Labels
status: noteworthyA noteworthy issue to call out in the release notesA noteworthy issue to call out in the release notestype: enhancementA general enhancementA general enhancement
Type
Projects
Relationships
Development
Select code repository
Activity
wilkinsona commentedon Sep 21, 2022
I've labeled this as an enhancement as I think we'll want it to be listed in the changelog.
Adapt build dependencies to httpclient5
Adapt RestTemplate factory auto-detection
Fail when setReadTimeout on httpclient5 request factory
Adapt TestRestTemplate to httpclient5 changes