Skip to content

Revert resource management changes in RestTemplate #29370

Description

@bclozel

Changes introduced in #29010 are not bringing the expected improvements to the API.
The request factories can still be externally managed or automatically created when RestTemplate is instantiated. This imbalance leads to compiler warnings for perfectly valid use cases.

Introducing more changes to the RestTemplate API is not warranted at this stage, so we've decided to revert this change altogether and accept this limitation.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions