此版本仍在开发中,尚未被视为稳定版本。对于最新的稳定版本,请使用 Spring Framework 6.2.0spring-doc.cadn.net.cn

测试

要测试使用WebClient,您可以使用模拟 Web 服务器,例如 OkHttp MockWebServer。查看示例 的用途,请查看WebClientIntegrationTests在 Spring Framework 测试套件中,或者使用static-server示例。spring-doc.cadn.net.cn


APP信息