Polish javadoc of RestTemplateBuilder.requestFactory(Function)

Closes gh-36046
This commit is contained in:
Andy Wilkinson 2023-06-27 20:13:11 +01:00
parent b2bc114d6f
commit b3c321e40c
1 changed files with 3 additions and 2 deletions

View File

@ -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