Spring Integration

org.springframework.integration.http
Class DefaultMultipartFileReader

java.lang.Object
  extended by org.springframework.integration.http.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
DefaultMultipartFileReader()
           
 
Method Summary
 MultipartFile readMultipartFile(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 MultipartFile readMultipartFile(MultipartFile multipartFile)
                                throws IOException
Description copied from interface: MultipartFileReader
Reads MultipartFile content.

Specified by:
readMultipartFile in interface MultipartFileReader<MultipartFile>
Throws:
IOException

Spring Integration

Copyright © 2010. All Rights Reserved.