spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Refine naming consistency for HttpRequestFactories and update RestOperations interface

Open Torres-09 opened this issue 1 year ago • 2 comments

This PR addresses issue #33382 by refining the naming consistency within the Spring Framework.

Class Renaming ReactorNettyClientRequestFactory -> ReactorClientHttpRequestFactory ReactorClientHttpConnector -> ReactorNettyClientHttpConnector HttpComponentsClientHttpRequestFactory -> HttpComponentsClientRequestFactory

RestOperations Interface Update Updated the RestOperations interface to reflect the new class names, specifically changing references from HttpComponentsClientHttpRequestFactory to HttpComponentsClientRequestFactory.

This update affects 32 files.

Testing All relevant tests were executed locally using ./gradlew test, and all tests passed successfully. No regressions were introduced by the changes in this PR.

Issue: #33382

Torres-09 avatar Aug 20 '24 13:08 Torres-09

@Torres-09 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla avatar Aug 20 '24 13:08 pivotal-cla

@Torres-09 Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Aug 20 '24 13:08 pivotal-cla

I went with the simplest possible renaming: just ReactorNettyClientRequestFactory to ReactorClientHttpRequestFactory, leaving all other class names as they are. This achieves local consistency within the http.client` package which is the most important part.

jhoeller avatar Sep 11 '24 14:09 jhoeller