I have around a 250MB request body that I need to http PUT in Spring 4. I was thinking that the Jackson Streaming API might be a good way to handle this large body since I am getting OOM issues. I only need this to be enabled for a single endpoint. Does anyone know how to set this up for a Spring 4, @RestController
? I have seen mention of WebMvcConfigurerAdapter
and HttpMessageConverters
, but I can't seem to find an example of how to integrate Spring MVC with Jackson Streaming API.
Thx!
-David