Skip to content

Commit 53a765a

Browse files
areywilkinsona
authored andcommitted
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 <antoine.rey@free.fr> See gh-48295
1 parent cf1ecca commit 53a765a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/http-clients.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section answers questions related to using them.
99
[[howto.http-clients.rest-template-proxy-configuration]]
1010
== Configure RestTemplate to Use a Proxy
1111

12-
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[].
12+
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[].
1313
This is the recommended approach for creating a javadoc:org.springframework.web.client.RestTemplate[] configured to use a proxy.
1414

1515
The exact details of the proxy configuration depend on the underlying client request factory that is being used.

0 commit comments

Comments
 (0)