|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultipartActionRequest
Interface which provides additional methods for dealing with multipart content within a portlet request, allowing to access uploaded files. Implementations also need to override the standard ActionRequest methods for parameter access, making multipart parameters available.
A concrete implementation is DefaultMultipartActionRequest.
PortletMultipartResolver,
MultipartFile,
PortletRequest.getParameter(java.lang.String),
PortletRequest.getParameterNames(),
PortletRequest.getParameterMap(),
DefaultMultipartActionRequest| Field Summary |
|---|
| Fields inherited from interface javax.portlet.PortletRequest |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO |
| Method Summary | |
|---|---|
MultipartFile |
getFile(String name)
Return the contents plus description of an uploaded file in this request, or null if it does not exist. |
Map |
getFileMap()
Return a Map of the multipart files contained in this request. |
Iterator |
getFileNames()
Return an Iterator of String objects containing the parameter names of the multipart files contained in this request. |
| Methods inherited from interface javax.portlet.ActionRequest |
|---|
getCharacterEncoding, getContentLength, getContentType, getPortletInputStream, getReader, setCharacterEncoding |
| Method Detail |
|---|
Iterator getFileNames()
MultipartFile getFile(String name)
null if it does not exist.
name - a String specifying the parameter name of the multipart file
Map getFileMap()
MultipartFile
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||