public class DefaultMultipartFileReader extends Object implements MultipartFileReader<MultipartFile>
MultipartFileReader
implementation that reads the MultipartFile
content directly into a new MultipartFile
instance that is not restricted
to the HTTP request scope.Constructor and Description |
---|
DefaultMultipartFileReader() |
Modifier and Type | Method and Description |
---|---|
MultipartFile |
readMultipartFile(MultipartFile multipartFile)
Reads
MultipartFile content. |
public MultipartFile readMultipartFile(MultipartFile multipartFile) throws IOException
MultipartFileReader
MultipartFile
content.readMultipartFile
in interface MultipartFileReader<MultipartFile>
multipartFile
- The multipart file.IOException
- Any IOException.