You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,10 @@ public RestTemplateBuilder detectRequestFactory(boolean detectRequestFactory) {
133
133
134
134
/**
135
135
* Set a root URL that should be applied to each request that starts with {@code '/'}.
136
-
* See {@link RootUriTemplateHandler} for details.
136
+
* Since this works by adding a {@link UriTemplateHandler} to the
137
+
* {@link RestTemplate}, the root URL will only apply when {@code String} variants of
138
+
* the {@link RestTemplate} methods are used for specifying the request URL. See
0 commit comments