Spring Integration

org.springframework.integration.http.multipart
Class DefaultMultipartFileReader

java.lang.Object
  extended by org.springframework.integration.http.multipart.DefaultMultipartFileReader
All Implemented Interfaces:
MultipartFileReader<org.springframework.web.multipart.MultipartFile>

public class DefaultMultipartFileReader
extends java.lang.Object
implements MultipartFileReader<org.springframework.web.multipart.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
DefaultMultipartFileReader()
           
 
Method Summary
 org.springframework.web.multipart.MultipartFile readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile)
          Reads MultipartFile content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMultipartFileReader

public DefaultMultipartFileReader()
Method Detail

readMultipartFile

public org.springframework.web.multipart.MultipartFile readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile)
                                                                  throws java.io.IOException
Description copied from interface: MultipartFileReader
Reads MultipartFile content.

Specified by:
readMultipartFile in interface MultipartFileReader<org.springframework.web.multipart.MultipartFile>
Throws:
java.io.IOException

Spring Integration