공부
[Java] How to forward large files with RestTemplate?
승가비
2021. 9. 5. 19:10
728x90
final RestTemplate restTemplate = new RestTemplate();
SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory();
requestFactory.setBufferRequestBody(false);
restTemplate.setRequestFactory(requestFactory);
https://stackoverflow.com/questions/15781885/how-to-forward-large-files-with-resttemplate
How to forward large files with RestTemplate?
I have a web service call through which zip files can be uploaded. The files are then forwarded to another service for storage, unzipping, etc. For now the file is stored on the file system, then a
stackoverflow.com
728x90