@@ -0,0 +1,663 @@
+final LinkedMultiValueMap%3CString, Object%3E parametres = new LinkedMultiValueMap%3C%3E();%0Aparametres.add(%22myDto%22, myDto);%0A%0Afor (final MultipartFile file : files)%0A%7B%0A%09parametres.add(%22files%22, new ByteArrayResource(file.getBytes()) %7B%0A    @Override%0A    public String getFilename()%0A    %7B%0A      return file.getOriginalFilename();%0A    %7D%0A%09%7D);%0A%7D%0A%0Afinal HttpHeaders headers = new HttpHeaders();%0Aheaders.setContentType(MediaType.MULTIPART_FORM_DATA);%0Afinal HttpEntity%3CLinkedMultiValueMap%3CString, Object%3E%3E request = new HttpEntity%3CLinkedMultiValueMap%3CString, Object%3E%3E(parametres, headers);%0A%0Athis.restClientHelper.getRestTemplate().postForObject(%22file/save%22, request, Object.class);%0A

Create spring-rest-sedings-files-with-dto.java