Uses of Interface
org.springframework.web.multipart.MultipartFile
Packages that use MultipartFile Package Description org.springframework.mock.web A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.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.Uses of MultipartFile in org.springframework.mock.web
Classes in org.springframework.mock.web that implement MultipartFile Modifier and Type Class Description class
MockMultipartFile
Mock implementation of theMultipartFile
interface.Methods in org.springframework.mock.web that return MultipartFile Modifier and Type Method Description MultipartFile
MockMultipartHttpServletRequest. getFile(String name)
Methods in org.springframework.mock.web that return types with arguments of type MultipartFile Modifier and Type Method Description Map<String,MultipartFile>
MockMultipartHttpServletRequest. getFileMap()
List<MultipartFile>
MockMultipartHttpServletRequest. getFiles(String name)
MultiValueMap<String,MultipartFile>
MockMultipartHttpServletRequest. getMultiFileMap()
Methods in org.springframework.mock.web with parameters of type MultipartFile Modifier and Type Method Description void
MockMultipartHttpServletRequest. addFile(MultipartFile file)
Add a file to this request.Uses of MultipartFile in org.springframework.web.bind
Method parameters in org.springframework.web.bind with type arguments of type MultipartFile Modifier and Type Method Description protected void
WebDataBinder. bindMultipart(Map<String,List<MultipartFile>> multipartFiles, MutablePropertyValues mpvs)
Bind all multipart files contained in the given request, if any (in case of a multipart request).Uses of MultipartFile in org.springframework.web.multipart
Methods in org.springframework.web.multipart that return MultipartFile Modifier and Type Method Description MultipartFile
MultipartRequest. getFile(String name)
Return the contents plus description of an uploaded file in this request, ornull
if it does not exist.Methods in org.springframework.web.multipart that return types with arguments of type MultipartFile Modifier and Type Method Description Map<String,MultipartFile>
MultipartRequest. getFileMap()
Return aMap
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.MultiValueMap<String,MultipartFile>
MultipartRequest. getMultiFileMap()
Return aMultiValueMap
of the multipart files contained in this request.Uses of MultipartFile in org.springframework.web.multipart.commons
Classes in org.springframework.web.multipart.commons that implement MultipartFile Modifier and Type Class Description class
CommonsMultipartFile
MultipartFile
implementation for Apache Commons FileUpload.Methods in org.springframework.web.multipart.commons that return types with arguments of type MultipartFile Modifier and Type Method Description MultiValueMap<String,MultipartFile>
CommonsFileUploadSupport.MultipartParsingResult. getMultipartFiles()
Method parameters in org.springframework.web.multipart.commons with type arguments of type MultipartFile Modifier and Type Method Description protected void
CommonsFileUploadSupport. cleanupFileItems(MultiValueMap<String,MultipartFile> multipartFiles)
Cleanup the Spring MultipartFiles created during multipart parsing, potentially holding temporary data on disk.Constructor parameters in org.springframework.web.multipart.commons with type arguments of type MultipartFile Constructor Description MultipartParsingResult(MultiValueMap<String,MultipartFile> mpFiles, Map<String,String[]> mpParams, Map<String,String> mpParamContentTypes)
Uses of MultipartFile in org.springframework.web.multipart.support
Methods in org.springframework.web.multipart.support that return MultipartFile Modifier and Type Method Description MultipartFile
AbstractMultipartHttpServletRequest. getFile(String name)
Methods in org.springframework.web.multipart.support that return types with arguments of type MultipartFile Modifier and Type Method Description Map<String,MultipartFile>
AbstractMultipartHttpServletRequest. getFileMap()
List<MultipartFile>
AbstractMultipartHttpServletRequest. getFiles(String name)
MultiValueMap<String,MultipartFile>
AbstractMultipartHttpServletRequest. getMultiFileMap()
protected MultiValueMap<String,MultipartFile>
AbstractMultipartHttpServletRequest. getMultipartFiles()
Obtain the MultipartFile Map for retrieval, lazily initializing it if necessary.Method parameters in org.springframework.web.multipart.support with type arguments of type MultipartFile Modifier and Type Method Description protected void
AbstractMultipartHttpServletRequest. setMultipartFiles(MultiValueMap<String,MultipartFile> multipartFiles)
Set a Map with parameter names as keys and list of MultipartFile objects as values.Constructor parameters in org.springframework.web.multipart.support with type arguments of type MultipartFile Constructor Description DefaultMultipartHttpServletRequest(HttpServletRequest request, MultiValueMap<String,MultipartFile> mpFiles, Map<String,String[]> mpParams, Map<String,String> mpParamContentTypes)
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.