public class MultipartForm extends Object
getDocument(String)
to access an uploaded file.Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_ATTRIBUTE_NAME
The name of the request attribute containing a MultipartForm instance.
|
Constructor and Description |
---|
MultipartForm() |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(String atomName,
String fileName,
String type,
File file) |
void |
addParameter(String name,
Object value)
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
void |
addparameterValues(String name,
String[] values)
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
Document |
getDocument(String name) |
Map<String,Document> |
getDocuments() |
String |
getParameter(String name)
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
Enumeration<String> |
getParameterNames()
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
Map<String,String[]> |
getParameters()
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
String[] |
getParameterValues(String name)
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
void |
removeParameter(String name)
Deprecated.
since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped.
|
public static final String REQUEST_ATTRIBUTE_NAME
@Deprecated public void addParameter(String name, Object value)
@Deprecated public void removeParameter(String name)
@Deprecated public Map<String,String[]> getParameters()
@Deprecated public String getParameter(String name)
@Deprecated public String[] getParameterValues(String name)
@Deprecated public void addparameterValues(String name, String[] values)
@Deprecated public Enumeration<String> getParameterNames()
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.