Polishing

This commit is contained in:
rstoyanchev
2025-01-09 14:15:17 +00:00
parent be5542a7a7
commit 39bb751546
3 changed files with 5 additions and 6 deletions

View File

@@ -54,6 +54,7 @@ public class BufferingClientHttpRequestFactory extends AbstractClientHttpRequest
/**
* Constructor variant with an additional predicate to decide whether to
* buffer the response.
* @since 7.0
*/
public BufferingClientHttpRequestFactory(
ClientHttpRequestFactory requestFactory,

View File

@@ -386,8 +386,8 @@ public interface RestClient {
Builder requestInterceptors(Consumer<List<ClientHttpRequestInterceptor>> interceptorsConsumer);
/**
* Enable buffering of request and response content making it possible to
* read the request and the response body multiple times.
* Enable buffering of request and response, aggregating all content before
* it is sent, and making it possible to read the response body repeatedly.
* @param predicate to determine whether to buffer for the given request
* @return this builder
* @since 7.0