Interface IMultipartWebRequest

All Known Implementing Classes:
MultipartServletWebRequest, MultipartServletWebRequestImpl

public interface IMultipartWebRequest
An interface providing access to multipart content uploads of a WebRequest
Author:
Ate Douma
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.commons.fileupload2.core.FileItem>
    getFile(String fieldName)
    Gets the files that were uploaded using the given field name.
    Map<String,List<org.apache.commons.fileupload2.core.FileItem>>
     
  • Method Details

    • getFiles

      Map<String,List<org.apache.commons.fileupload2.core.FileItem>> getFiles()
      Returns:
      Returns the files.
    • getFile

      List<org.apache.commons.fileupload2.core.FileItem> getFile(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