org.springframework.integration.http.multipart
Class MultipartHttpInputMessage
java.lang.Object
org.springframework.http.server.ServletServerHttpRequest
org.springframework.integration.http.multipart.MultipartHttpInputMessage
- All Implemented Interfaces:
- org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage, org.springframework.http.server.ServerHttpRequest, org.springframework.web.multipart.MultipartRequest
public class MultipartHttpInputMessage
- extends org.springframework.http.server.ServletServerHttpRequest
- implements org.springframework.web.multipart.MultipartRequest
- Since:
- 2.0
- Author:
- Mark Fisher
Fields inherited from class org.springframework.http.server.ServletServerHttpRequest |
FORM_CHARSET, FORM_CONTENT_TYPE |
Constructor Summary |
MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest)
|
Method Summary |
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()
|
Methods inherited from class org.springframework.http.server.ServletServerHttpRequest |
getBody, getHeaders, getMethod, getServletRequest, getURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipartHttpInputMessage
public MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest)
getFile
public org.springframework.web.multipart.MultipartFile getFile(java.lang.String name)
- Specified by:
getFile
in interface org.springframework.web.multipart.MultipartRequest
getFileMap
public java.util.Map<java.lang.String,org.springframework.web.multipart.MultipartFile> getFileMap()
- Specified by:
getFileMap
in interface org.springframework.web.multipart.MultipartRequest
getMultiFileMap
public org.springframework.util.MultiValueMap<java.lang.String,org.springframework.web.multipart.MultipartFile> getMultiFileMap()
- Specified by:
getMultiFileMap
in interface org.springframework.web.multipart.MultipartRequest
getFileNames
public java.util.Iterator<java.lang.String> getFileNames()
- Specified by:
getFileNames
in interface org.springframework.web.multipart.MultipartRequest
getFiles
public java.util.List<org.springframework.web.multipart.MultipartFile> getFiles(java.lang.String name)
- Specified by:
getFiles
in interface org.springframework.web.multipart.MultipartRequest
getParameterMap
public java.util.Map getParameterMap()
getMultipartContentType
public 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)