|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--agonism.dovetail.site.http.MultipartFormData
Constructor Summary | |
MultipartFormData(javax.servlet.http.HttpServletRequest request)
Constructs a new MultipartRequest to handle the specified request, and limiting the upload size to 1 Megabyte. |
Method Summary | |
byte[] |
getFile(java.lang.String name)
Returns a byte[] object for the specified file, or null if the file was not included in the upload. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of the named parameter as a String, or null if the parameter was not given. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultipartFormData(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
request
- the servlet requestjava.io.IOException
- if the uploaded content is larger than 1 Megabyte
or there's a problem reading or parsing the requestMethod Detail |
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface IFormData
name
- the parameter namepublic byte[] getFile(java.lang.String name)
getFile
in interface IFormData
name
- the file name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |