incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

Deprecate HttpClient4 Utility Class

Open YongGoose opened this issue 4 months ago • 3 comments

Check Ahead

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

  • [ ] I am willing to try to implement this feature myself.

Why you need it?

To gradually phase out the HttpClient4-based utility class, we need to mark it as deprecated. This will notify users about its future removal and encourage migration to HttpClient5.

  • https://github.com/apache/incubator-seata/pull/7492#discussion_r2234002689

How it could be?

  1. Add @Deprecated annotation to the HttpClient4 utility class
  2. Update Javadoc to include:
  • Deprecation notice
  • Planned removal in a future release
  • Recommendation to migrate to HttpClient5

Other related information

You can start this task once the PR below has been merged.

  • https://github.com/apache/incubator-seata/pull/7492

YongGoose avatar Jul 28 '25 02:07 YongGoose

@YongGoose Similarly, I think it's an integrated whole with #7561 , and I'll complete them together

YvCeung avatar Jul 28 '25 03:07 YvCeung

If the amount of work in a PR becomes too large, please consider splitting it into two.

YongGoose avatar Jul 28 '25 03:07 YongGoose

If the amount of work in a PR becomes too large, please consider splitting it into two.

ok

YvCeung avatar Jul 28 '25 03:07 YvCeung