How to convert byte array to MultipartFile
org.springframework.web.multipart.MultipartFile is an interface so firstly you are going to need to work with an implementation of this interface. The only implementation that I can see for that interface that you can use out-of-the-box is org.springframework.web.multipart.commons.CommonsMultipartFile. The API for that implementation can be found here Alternatively as org.springframework.web.multipart.MultipartFile is an interface, you could provide your … Read more