Package | Description |
---|---|
org.springframework.web.bind |
Provides web-specific data binding functionality.
|
org.springframework.web.multipart |
Multipart resolution framework for handling file uploads.
|
org.springframework.web.multipart.commons |
MultipartResolver implementation for
Apache Commons FileUpload.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebDataBinder.bindMultipart(Map<String,List<MultipartFile>> multipartFiles,
org.springframework.beans.MutablePropertyValues mpvs)
Bind all multipart files contained in the given request, if any
(in case of a multipart request).
|
Modifier and Type | Method and Description |
---|---|
MultipartFile |
MultipartRequest.getFile(String name)
Return the contents plus description of an uploaded file in this request,
or
null if it does not exist. |
Modifier and Type | Method and Description |
---|---|
Map<String,MultipartFile> |
MultipartRequest.getFileMap()
Return a
Map of the multipart files contained in this request. |
List<MultipartFile> |
MultipartRequest.getFiles(String name)
Return the contents plus description of uploaded files in this request,
or an empty list if it does not exist.
|
org.springframework.util.MultiValueMap<String,MultipartFile> |
MultipartRequest.getMultiFileMap()
Return a
MultiValueMap of the multipart files contained in this request. |
Modifier and Type | Class and Description |
---|---|
class |
CommonsMultipartFile
MultipartFile implementation for Apache Commons FileUpload. |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.MultiValueMap<String,MultipartFile> |
CommonsFileUploadSupport.MultipartParsingResult.getMultipartFiles() |
Modifier and Type | Method and Description |
---|---|
protected void |
CommonsFileUploadSupport.cleanupFileItems(org.springframework.util.MultiValueMap<String,MultipartFile> multipartFiles)
Cleanup the Spring MultipartFiles created during multipart parsing,
potentially holding temporary data on disk.
|
Constructor and Description |
---|
MultipartParsingResult(org.springframework.util.MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes) |
Modifier and Type | Method and Description |
---|---|
MultipartFile |
AbstractMultipartHttpServletRequest.getFile(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getFileMap() |
List<MultipartFile> |
AbstractMultipartHttpServletRequest.getFiles(String name) |
org.springframework.util.MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultiFileMap() |
protected org.springframework.util.MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultipartFiles()
Obtain the MultipartFile Map for retrieval,
lazily initializing it if necessary.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMultipartHttpServletRequest.setMultipartFiles(org.springframework.util.MultiValueMap<String,MultipartFile> multipartFiles)
Set a Map with parameter names as keys and list of MultipartFile objects as values.
|
Constructor and Description |
---|
DefaultMultipartHttpServletRequest(HttpServletRequest request,
org.springframework.util.MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes)
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
|