|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultipartRequest
This interface defines the multipart request access operations
that are exposed for actual multipart requests. It is extended
by MultipartHttpServletRequest
and the Portlet
MultipartActionRequest
.
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<String,MultipartFile> |
getFileMap()
Return a Map of the multipart files contained in this request. |
Iterator<String> |
getFileNames()
Return an Iterator of String objects containing the
parameter names of the multipart files contained in this request. |
List<MultipartFile> |
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> |
getMultiFileMap()
Return a MultiValueMap of the multipart files contained in this request. |
Method Detail |
---|
Iterator<String> getFileNames()
Iterator
of String objects containing the
parameter names of the multipart files contained in this request. These
are the field names of the form (like with normal parameters), not the
original file names.
MultipartFile getFile(String name)
null
if it does not exist.
name
- a String specifying the parameter name of the multipart file
MultipartFile
objectList<MultipartFile> getFiles(String name)
name
- a String specifying the parameter name of the multipart file
MultipartFile
listMap<String,MultipartFile> getFileMap()
Map
of the multipart files contained in this request.
MultipartFile
objects as valuesMultiValueMap<String,MultipartFile> getMultiFileMap()
MultiValueMap
of the multipart files contained in this request.
MultipartFile
objects as values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |