Skip to content

Commit 3f29835

Browse files
committed
Update references for RestTemplateCustomizer and RestTemplateBuilder classes in documentation
Starting from Spring Boot 4, the RestTemplateBuilder and RestTemplateBuilder classes have been moved from the org.springframework.boot.web.client package to the org.springframework.boot.restclient package Signed-off-by: Antoine Rey <antoine.rey@free.fr>
1 parent cf1ecca commit 3f29835

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)