MultipartForm
.@Deprecated public class RequestFormUtil extends Object
Constructor and Description |
---|
RequestFormUtil(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
RequestFormUtil(javax.servlet.http.HttpServletRequest request,
MultipartForm form)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(String name)
Deprecated.
|
Map |
getDocuments()
Deprecated.
|
MultipartForm |
getForm()
Deprecated.
|
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
MultipartForm from,
String name)
Deprecated.
Returns the value found in the form or the request.
|
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
MultipartForm from,
String name,
String defaultValue)
Deprecated.
Returns the defaultValue if the parameter is not found in the request or form.
|
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
String name)
Deprecated.
|
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
String name,
String defaultValue)
Deprecated.
|
String |
getParameter(String name)
Deprecated.
|
String |
getParameter(String name,
String defaultValue)
Deprecated.
|
Map |
getParameters()
Deprecated.
|
static Map |
getParameters(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
String[] |
getParameterValues(String name)
Deprecated.
|
static String |
getURLParameterDecoded(javax.servlet.http.HttpServletRequest request,
String name,
String charset)
Deprecated.
|
static Map<String,String> |
getURLParametersDecoded(javax.servlet.http.HttpServletRequest request,
String charset)
Deprecated.
The url is not always properly decoded.
|
static Map<String,String> |
getURLParametersDecoded(String queryString,
String charset)
Deprecated.
Extract and decodes parameters from a query string.
|
void |
removeParameter(String name)
Deprecated.
|
public RequestFormUtil(javax.servlet.http.HttpServletRequest request)
public RequestFormUtil(javax.servlet.http.HttpServletRequest request, MultipartForm form)
public static String getParameter(javax.servlet.http.HttpServletRequest request, String name)
public static String getParameter(javax.servlet.http.HttpServletRequest request, MultipartForm from, String name)
public static String getParameter(javax.servlet.http.HttpServletRequest request, String name, String defaultValue)
public static String getParameter(javax.servlet.http.HttpServletRequest request, MultipartForm from, String name, String defaultValue)
public static String getURLParameterDecoded(javax.servlet.http.HttpServletRequest request, String name, String charset)
public static Map<String,String> getURLParametersDecoded(javax.servlet.http.HttpServletRequest request, String charset)
public static Map<String,String> getURLParametersDecoded(String queryString, String charset)
queryString
- query stringcharset
- charset (e.g UTF-8)public MultipartForm getForm()
public Map getDocuments()
public Map getParameters()
public static Map getParameters(javax.servlet.http.HttpServletRequest request)
public void removeParameter(String name)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.