diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java index 9127c5246af..bd0e261cfde 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java @@ -323,8 +323,9 @@ public class RestTemplateBuilder { } /** - * Set the {@link ClientHttpRequestFactorySupplier} that should be called each time we - * {@link #build()} a new {@link RestTemplate} instance. + * Set the request factory function that should be called to provide a + * {@link ClientHttpRequestFactory} each time we {@link #build()} a new + * {@link RestTemplate} instance. * @param requestFactoryFunction the settings to request factory function * @return a new builder instance * @since 3.0.0