Uses of Interface
org.springframework.web.multipart.MultipartFile
Package
Description
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Provides web-specific data binding functionality.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
-
Uses of MultipartFile in org.springframework.mock.web
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionMockMultipartHttpServletRequest.getFileMap()
MockMultipartHttpServletRequest.getMultiFileMap()
Modifier and TypeMethodDescriptionvoid
MockMultipartHttpServletRequest.addFile
(MultipartFile file) Add a file to this request. -
Uses of MultipartFile in org.springframework.web.bind
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionReturn the contents plus description of an uploaded file in this request, ornull
if it does not exist.Modifier and TypeMethodDescriptionMultipartRequest.getFileMap()
Return aMap
of the multipart files contained in this request.Return the contents plus description of uploaded files in this request, or an empty list if it does not exist.MultipartRequest.getMultiFileMap()
Return aMultiValueMap
of the multipart files contained in this request. -
Uses of MultipartFile in org.springframework.web.multipart.support
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionAbstractMultipartHttpServletRequest.getFileMap()
AbstractMultipartHttpServletRequest.getMultiFileMap()
protected MultiValueMap<String,
MultipartFile> AbstractMultipartHttpServletRequest.getMultipartFiles()
Obtain the MultipartFile Map for retrieval, lazily initializing it if necessary.Modifier and TypeMethodDescriptionprotected final void
AbstractMultipartHttpServletRequest.setMultipartFiles
(MultiValueMap<String, MultipartFile> multipartFiles) Set a Map with parameter names as keys and list of MultipartFile objects as values.ModifierConstructorDescriptionDefaultMultipartHttpServletRequest
(HttpServletRequest request, MultiValueMap<String, MultipartFile> mpFiles, Map<String, String[]> mpParams, Map<String, String> mpParamContentTypes) Wrap the given HttpServletRequest in a MultipartHttpServletRequest.