org.directwebremoting.dwrp
Class UnsupportedFileUpload
java.lang.Object
org.directwebremoting.dwrp.UnsupportedFileUpload
- All Implemented Interfaces:
- FileUpload
public class UnsupportedFileUpload
- extends java.lang.Object
- implements FileUpload
A default implementation of FileUpload for cases when Commons File-Upload is
not available. This implementation does not do file uploads, however it does
allow the system to carry on without classpath issues.
- 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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsupportedFileUpload
public UnsupportedFileUpload()
parseRequest
public java.util.Map<java.lang.String,FormField> parseRequest(javax.servlet.http.HttpServletRequest req)
throws ServerException
- Description copied from interface:
FileUpload
- Process an inbound request into a set of name/value pairs where the
values could be file uploads.
- Specified by:
parseRequest in interface FileUpload
- 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