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
@@ -154,7 +154,10 @@ public RestTemplateBuilder detectRequestFactory(boolean detectRequestFactory) {
154
154
155
155
/**
156
156
* Set a root URL that should be applied to each request that starts with {@code '/'}.
157
-
* See {@link RootUriTemplateHandler} for details.
157
+
* Since this works by adding a {@link UriTemplateHandler} to the
158
+
* {@link RestTemplate}, the root URL will only apply when {@code String} variants of
159
+
* the {@link RestTemplate} methods are used for specifying the request URL. See
0 commit comments