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.