org.mmbase.datatypes.handlers.html
Class MultiPart.MMultipartRequest
java.lang.Object
org.mmbase.datatypes.handlers.html.MultiPart.MMultipartRequest
- Enclosing class:
- MultiPart
public static class MultiPart.MMultipartRequest
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiPart.MMultipartRequest
MultiPart.MMultipartRequest(HttpServletRequest req,
String c)
getInputStream
public SerializableInputStream getInputStream(String param)
getFileItem
public FileItem getFileItem(String param)
- Deprecated.
encodeBytesAsString
protected String encodeBytesAsString(byte[] data)
throws UnsupportedEncodingException
- Method to retrieve the bytes of an uploaded file as a string using eitehr the encoding specified in the file or
the default encoding.
- Returns:
null if parameter not found, otherwise the bytes from the parameter
- Throws:
UnsupportedEncodingException
isFile
public boolean isFile(String param)
- Since:
- MMBase-1.8
getParameterValues
public Object getParameterValues(String param)
throws UnsupportedEncodingException
- Method to retrieve the parameter.
- Parameters:
param - The name of the parameter
- Returns:
null if parameter not found, when a single occurence of the parameter
the result as a String using the encoding specified. When if was a MultiParameter parameter, it will return
a List of String's
- Throws:
UnsupportedEncodingException
getParameterNames
public Collection<String> getParameterNames()
MMBase 2.0-SNAPSHOT - null