티스토리 뷰

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
댓글