org.directwebremoting.dwrp
Interface FileUpload
- All Known Implementing Classes:
- CommonsFileUpload, UnsupportedFileUpload
public interface FileUpload
An interface to allow us to plug alternative FileUpload components into DWR,
and more specifically, to plug in a null implementation if file commons
file-upload.jar is not available on the classpath.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
|
Method Summary |
java.util.Map<java.lang.String,FormField> |
parseRequest(javax.servlet.http.HttpServletRequest req)
Process an inbound request into a set of name/value pairs where the
values could be file uploads. |
parseRequest
java.util.Map<java.lang.String,FormField> parseRequest(javax.servlet.http.HttpServletRequest req)
throws ServerException
- Process an inbound request into a set of name/value pairs where the
values could be file uploads.
- Parameters:
req - The request to parse
- Returns:
- A map of the fields in the input request
- Throws:
ServerException - If there is an IOException while reading the request