public class MultipartRequest
extends javax.servlet.http.HttpServletRequestWrapper
implements org.apache.commons.fileupload.ProgressListener
Modifier and Type | Field and Description |
---|---|
protected java.util.List<org.apache.commons.fileupload.FileItem> |
items |
static java.lang.String |
MULTIPART_UPLOAD |
protected java.util.HashMap<java.lang.String,java.lang.String[]> |
params |
static java.lang.String |
REVISION |
Modifier | Constructor and Description |
---|---|
protected |
MultipartRequest(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameter(java.lang.String arg0) |
java.util.Map |
getParameterMap() |
java.util.Enumeration |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String arg0) |
void |
parseRequest(java.io.File directory,
int sizeThreshold,
long sizeMax) |
void |
setParameter(java.lang.String key,
java.lang.String value) |
void |
setParameter(java.lang.String key,
java.lang.String[] values) |
void |
update(long pBytesRead,
long pContentLength,
int pItems) |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public static final java.lang.String REVISION
public static final java.lang.String MULTIPART_UPLOAD
protected java.util.List<org.apache.commons.fileupload.FileItem> items
protected java.util.HashMap<java.lang.String,java.lang.String[]> params
protected MultipartRequest(javax.servlet.http.HttpServletRequest request)
public void parseRequest(java.io.File directory, int sizeThreshold, long sizeMax) throws org.apache.commons.fileupload.FileUploadException, java.io.UnsupportedEncodingException
org.apache.commons.fileupload.FileUploadException
java.io.UnsupportedEncodingException
public void update(long pBytesRead, long pContentLength, int pItems)
update
in interface org.apache.commons.fileupload.ProgressListener
public void setParameter(java.lang.String key, java.lang.String value)
public void setParameter(java.lang.String key, java.lang.String[] values)
public java.lang.String getParameter(java.lang.String arg0)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameter(String)
public java.util.Map getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterMap()
public java.util.Enumeration getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterNames()
public java.lang.String[] getParameterValues(java.lang.String arg0)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterValues(String)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.