-
-
Notifications
You must be signed in to change notification settings - Fork 9k
补充miniapp、open模块Apache HttpClient 5.x实现,将多个模块服务迁移至Apache HttpClient 5.x客户端实现 #3834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🤖 Augment PR SummarySummary: This PR completes the Apache HttpClient 5.x (HttpComponents) migration for MiniApp/Open and makes HttpComponents the default in more modules.
🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...java-open/src/main/java/me/chanjar/weixin/open/api/impl/WxOpenServiceHttpComponentsImpl.java
Show resolved
Hide resolved
...er/src/main/java/com/binarywang/spring/starter/wxjava/miniapp/properties/WxMaProperties.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
此 PR 将 miniapp 和 open 模块补充了 Apache HttpClient 5.x 实现,并将多个模块的默认服务实现迁移至 Apache HttpClient 5.x 客户端(HttpComponents)。这是项目从 HttpClient 4.x 迁移到 5.x 的重要步骤。
主要变更包括:
- 为 miniapp 和 open 模块新增 HttpComponents 5.x 实现类
- 将 6 个核心模块的默认实现类从 HttpClient 4.x 切换到 HttpComponents 5.x
- 更新所有相关的 Spring Boot Starter 和 Solon 插件配置,将默认 HTTP 客户端类型改为 HttpComponents
- 更新升级指南文档以反映新的默认配置
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/WxMaServiceHttpComponentsImpl.java | 新增小程序模块的 Apache HttpClient 5.x 实现类 |
| weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl/WxOpenServiceHttpComponentsImpl.java | 新增开放平台模块的 Apache HttpClient 5.x 实现类 |
| weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/WxMaServiceImpl.java | 将小程序默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl/WxOpenServiceImpl.java | 将开放平台默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpServiceImpl.java | 将公众号默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceImpl.java | 将支付模块默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxChannelServiceImpl.java | 将视频号默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| weixin-java-qidian/src/main/java/me/chanjar/weixin/qidian/api/impl/WxQidianServiceImpl.java | 将企点默认实现从 HttpClient 4.x 切换到 HttpComponents 5.x |
| spring-boot-starters/wx-java-miniapp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/miniapp/properties/WxMaProperties.java | 将小程序 Spring Boot Starter 的默认 HTTP 客户端类型改为 HttpComponents |
| spring-boot-starters/wx-java-miniapp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/miniapp/config/WxMaServiceAutoConfiguration.java | 在小程序 Spring Boot Starter 的自动配置中添加 HttpComponents 类型支持 |
| solon-plugins/wx-java-qidian-solon-plugin/src/main/java/com/binarywang/solon/wxjava/qidian/config/WxQidianServiceAutoConfiguration.java | 在企点 Solon 插件中添加 HttpComponents 类型支持 |
| solon-plugins/wx-java-mp-solon-plugin/src/main/java/com/binarywang/solon/wxjava/mp/config/WxMpServiceAutoConfiguration.java | 在公众号 Solon 插件中添加 HttpComponents 类型支持 |
| solon-plugins/wx-java-mp-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/mp_multi/properties/WxMpMultiProperties.java | 在公众号多账号 Solon 插件中添加 HTTP_COMPONENTS 枚举值并更改默认值 |
| solon-plugins/wx-java-mp-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/mp_multi/configuration/services/AbstractWxMpConfiguration.java | 在公众号多账号配置中添加 HTTP_COMPONENTS 类型支持 |
| solon-plugins/wx-java-miniapp-solon-plugin/src/main/java/com/binarywang/solon/wxjava/miniapp/properties/WxMaProperties.java | 将小程序 Solon 插件的默认 HTTP 客户端类型改为 HttpComponents |
| solon-plugins/wx-java-miniapp-solon-plugin/src/main/java/com/binarywang/solon/wxjava/miniapp/config/WxMaServiceAutoConfiguration.java | 在小程序 Solon 插件的自动配置中添加 HttpComponents 类型支持 |
| solon-plugins/wx-java-miniapp-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/miniapp/properties/WxMaMultiProperties.java | 在小程序多账号 Solon 插件中添加 HTTP_COMPONENTS 枚举值并更改默认值 |
| solon-plugins/wx-java-miniapp-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/miniapp/configuration/services/AbstractWxMaConfiguration.java | 在小程序多账号配置中添加 HTTP_COMPONENTS 类型支持 |
| solon-plugins/wx-java-cp-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/cp_multi/properties/WxCpMultiProperties.java | 将企业微信多账号 Solon 插件的默认 HTTP 客户端类型改为 HTTP_COMPONENTS |
| solon-plugins/wx-java-channel-multi-solon-plugin/src/main/java/com/binarywang/solon/wxjava/channel/properties/WxChannelMultiProperties.java | 将视频号多账号 Solon 插件的默认 HTTP 客户端类型改为 HTTP_COMPONENTS |
| docs/HTTPCLIENT_UPGRADE_GUIDE.md | 更新文档以反映小程序模块默认已使用 HttpComponents 5.x,并移除相关的 FAQ |
No description provided.