Class BufferingClientHttpRequestFactory

java.lang.Object
org.springframework.http.client.AbstractClientHttpRequestFactoryWrapper
org.springframework.http.client.BufferingClientHttpRequestFactory
All Implemented Interfaces:
Closeable, AutoCloseable, ClientHttpRequestFactory

public class BufferingClientHttpRequestFactory extends AbstractClientHttpRequestFactoryWrapper
Wrapper for a ClientHttpRequestFactory that buffers all outgoing and incoming streams in memory.

Using this wrapper allows for multiple reads of the response body.

Since:
3.1
Author:
Arjen Poutsma