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, isUserInRolegetAttribute, 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, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic 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.FileUploadExceptionjava.io.UnsupportedEncodingExceptionpublic void update(long pBytesRead,
long pContentLength,
int pItems)
update in interface org.apache.commons.fileupload.ProgressListenerpublic 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.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperServletRequest.getParameter(String)public java.util.Map getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperServletRequest.getParameterMap()public java.util.Enumeration getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperServletRequest.getParameterNames()public java.lang.String[] getParameterValues(java.lang.String arg0)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperServletRequest.getParameterValues(String)Copyright © 2001-2010 Jalios SA. All Rights Reserved.