Class DefaultMultipartFileReader
java.lang.Object
org.springframework.integration.http.multipart.DefaultMultipartFileReader
- All Implemented Interfaces:
MultipartFileReader<MultipartFile>
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.- Since:
- 2.0
- Author:
- Mark Fisher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadMultipartFile
(MultipartFile multipartFile) ReadMultipartFile
content.
-
Constructor Details
-
DefaultMultipartFileReader
public DefaultMultipartFileReader()
-
-
Method Details
-
readMultipartFile
Description copied from interface:MultipartFileReader
ReadMultipartFile
content.- Specified by:
readMultipartFile
in interfaceMultipartFileReader<MultipartFile>
- Parameters:
multipartFile
- The multipart file.- Returns:
- The result of reading the file.
- Throws:
IOException
- Any IOException.
-