All HttpMessageConverters should support StreamingHttpOutputMessage [SPR-12715] #17312
I would be nice if HttpComponentsClientHttpRequestFactory was able to fully support streaming (non-buffered) requests. Currently, the HttpComponentsStreamingClientHttpRequest class does not support the getBodyInternal() method which prevents it from being used with many MessageConverters.
I would think the HttpComponentsClientHttpRequestFactory should mirror the SimpleClientHttpRequestFactory which does provide full streaming support.
Referenced from: commits 8ab2e47
Arjen Poutsma commented
I'm not entirely sure what you mean with "full streaming". The whole point of the
It does work differently than the
As for the MessageConverters: most converters in Spring extend from the AbstractMessageConverter, which knows how to deal with
John Mark commented
Well, the reason that I wrote this ticket was because I was trying to stream a multipart form and I was getting an UnsupportedOperationException. It appears that