public class MultipartHttpInputMessage
extends org.springframework.http.server.ServletServerHttpRequest
implements org.springframework.web.multipart.MultipartRequest
Constructor and Description |
---|
MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest) |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.multipart.MultipartFile |
getFile(java.lang.String name) |
java.util.Map<java.lang.String,org.springframework.web.multipart.MultipartFile> |
getFileMap() |
java.util.Iterator<java.lang.String> |
getFileNames() |
java.util.List<org.springframework.web.multipart.MultipartFile> |
getFiles(java.lang.String name) |
org.springframework.util.MultiValueMap<java.lang.String,org.springframework.web.multipart.MultipartFile> |
getMultiFileMap() |
java.lang.String |
getMultipartContentType(java.lang.String paramOrFileName)
Once we depend upon Spring 3.1 as a minimum, this code can be changed to:
this.multipartServletRequest.getMultipartContentType(String paramOrFileName)
|
java.util.Map |
getParameterMap() |
public MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest)
public org.springframework.web.multipart.MultipartFile getFile(java.lang.String name)
getFile
in interface org.springframework.web.multipart.MultipartRequest
public java.util.Map<java.lang.String,org.springframework.web.multipart.MultipartFile> getFileMap()
getFileMap
in interface org.springframework.web.multipart.MultipartRequest
public org.springframework.util.MultiValueMap<java.lang.String,org.springframework.web.multipart.MultipartFile> getMultiFileMap()
getMultiFileMap
in interface org.springframework.web.multipart.MultipartRequest
public java.util.Iterator<java.lang.String> getFileNames()
getFileNames
in interface org.springframework.web.multipart.MultipartRequest
public java.util.List<org.springframework.web.multipart.MultipartFile> getFiles(java.lang.String name)
getFiles
in interface org.springframework.web.multipart.MultipartRequest
public java.util.Map getParameterMap()
public java.lang.String getMultipartContentType(java.lang.String paramOrFileName)
getMultipartContentType
in interface org.springframework.web.multipart.MultipartRequest