Class UploadedMultipartFile
java.lang.Object
org.springframework.integration.http.multipart.UploadedMultipartFile
- All Implemented Interfaces:
- InputStreamSource,- MultipartFile
A 
MultipartFile implementation that represents an uploaded File.
 The actual file content either exists in memory (in a byte array) or in a File.- Since:
- 2.0
- Author:
- Mark Fisher, Gary Russell
- 
Constructor SummaryConstructorsConstructorDescriptionUploadedMultipartFile(byte[] bytes, String contentType, String formParameterName, String originalFilename) UploadedMultipartFile(File file, long size, String contentType, String formParameterName, String originalFilename) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.multipart.MultipartFilegetResource, transferTo
- 
Constructor Details- 
UploadedMultipartFile
- 
UploadedMultipartFile
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- MultipartFile
 
- 
getBytes- Specified by:
- getBytesin interface- MultipartFile
- Throws:
- IOException
 
- 
getContentType- Specified by:
- getContentTypein interface- MultipartFile
 
- 
getInputStream- Specified by:
- getInputStreamin interface- InputStreamSource
- Specified by:
- getInputStreamin interface- MultipartFile
- Throws:
- IOException
 
- 
getOriginalFilename- Specified by:
- getOriginalFilenamein interface- MultipartFile
 
- 
getSizepublic long getSize()- Specified by:
- getSizein interface- MultipartFile
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- MultipartFile
 
- 
transferTo- Specified by:
- transferToin interface- MultipartFile
- Throws:
- IOException
- IllegalStateException
 
 
-