From 53a765ac5c8a960754acf9dadb027a6943671633 Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Wed, 26 Nov 2025 10:12:10 +0100 Subject: [PATCH] Update references for RestTemplateBuilder and Customizer Starting from Spring Boot 4, the RestTemplateBuilder and RestTemplateCustomizer classes have been moved from the org.springframework.boot.web.client package to the org.springframework.boot.restclient package. This commit updates the javadoc links in the reference documentation to match Signed-off-by: Antoine Rey See gh-48295 --- .../src/docs/antora/modules/how-to/pages/http-clients.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/http-clients.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/http-clients.adoc index 536271c769c..583b08569ab 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/http-clients.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/http-clients.adoc @@ -9,7 +9,7 @@ This section answers questions related to using them. [[howto.http-clients.rest-template-proxy-configuration]] == Configure RestTemplate to Use a Proxy -As described in xref:reference:io/rest-client.adoc#io.rest-client.resttemplate.customization[RestTemplate Customization], you can use a javadoc:org.springframework.boot.web.client.RestTemplateCustomizer[] with javadoc:org.springframework.boot.web.client.RestTemplateBuilder[] to build a customized javadoc:org.springframework.web.client.RestTemplate[]. +As described in xref:reference:io/rest-client.adoc#io.rest-client.resttemplate.customization[RestTemplate Customization], you can use a javadoc:org.springframework.boot.restclient.RestTemplateCustomizer[] with javadoc:org.springframework.boot.restclient.RestTemplateBuilder[] to build a customized javadoc:org.springframework.web.client.RestTemplate[]. This is the recommended approach for creating a javadoc:org.springframework.web.client.RestTemplate[] configured to use a proxy. The exact details of the proxy configuration depend on the underlying client request factory that is being used.