From b3c321e40c5d3d47ed1f23ee559712a63a4c607d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 27 Jun 2023 20:13:11 +0100 Subject: [PATCH] Polish javadoc of RestTemplateBuilder.requestFactory(Function) Closes gh-36046 --- .../springframework/boot/web/client/RestTemplateBuilder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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