Package org.apache.wicket.protocol.http
Interface IMultipartWebRequest
-
- All Known Implementing Classes:
MultipartServletWebRequest,MultipartServletWebRequestImpl
public interface IMultipartWebRequestAn interface providing access to multipart content uploads of a WebRequest- Author:
- Ate Douma
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.apache.commons.fileupload.FileItem>getFile(java.lang.String fieldName)Gets the files that were uploaded using the given field name.java.util.Map<java.lang.String,java.util.List<org.apache.commons.fileupload.FileItem>>getFiles()
-
-
-
Method Detail
-
getFiles
java.util.Map<java.lang.String,java.util.List<org.apache.commons.fileupload.FileItem>> getFiles()
- Returns:
- Returns the files.
-
getFile
java.util.List<org.apache.commons.fileupload.FileItem> getFile(java.lang.String fieldName)
Gets the files that were uploaded using the given field name.- Parameters:
fieldName- the field name that was used for the upload- Returns:
- the uploads with the given field name
-
-