@Deprecated public class MultipartRequestWrapper extends HttpServletRequestWrapper
FileItem
s
in the MultipartUtils.FILE_ITEMS
request attribute.Modifier and Type | Field and Description |
---|---|
protected Map<String,String[]> |
m_aggregateParams
Deprecated.
Aggregation of params from multipart body plus params from request url.
|
protected org.apache.commons.fileupload.FileItemFactory |
m_fileItemFactory
Deprecated.
Specified FileItem factory.
|
protected int |
m_maxSize
Deprecated.
Specified max allowed upload size in bytes (negative signals no max size).
|
protected Map<String,String[]> |
m_multipartParams
Deprecated.
Params from multipart body.
|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
MultipartRequestWrapper(HttpServletRequest parent,
int maxSize,
org.apache.commons.fileupload.FileItemFactory fileItemFactory)
Deprecated.
New multipart request wrapper.
|
Modifier and Type | Method and Description |
---|---|
String |
getParameter(String name)
Deprecated.
|
Map<String,String[]> |
getParameterMap()
Deprecated.
|
Enumeration<String> |
getParameterNames()
Deprecated.
|
String[] |
getParameterValues(String name)
Deprecated.
|
protected void |
parseRequest()
Deprecated.
Parses request for multipart info.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
protected Map<String,String[]> m_multipartParams
protected Map<String,String[]> m_aggregateParams
protected org.apache.commons.fileupload.FileItemFactory m_fileItemFactory
protected int m_maxSize
public MultipartRequestWrapper(HttpServletRequest parent, int maxSize, org.apache.commons.fileupload.FileItemFactory fileItemFactory) throws IOException, ServletException
parent
- Request to wrap.maxSize
- Max upload file size in bytes.fileItemFactory
- FileItem
factory to use.IOException
ServletException
public String getParameter(String name)
getParameter
in interface ServletRequest
getParameter
in class ServletRequestWrapper
public Map<String,String[]> getParameterMap()
getParameterMap
in interface ServletRequest
getParameterMap
in class ServletRequestWrapper
public Enumeration<String> getParameterNames()
getParameterNames
in interface ServletRequest
getParameterNames
in class ServletRequestWrapper
public String[] getParameterValues(String name)
getParameterValues
in interface ServletRequest
getParameterValues
in class ServletRequestWrapper
protected void parseRequest() throws IOException, ServletException
IOException
ServletException