public class MultipartRequest
extends javax.servlet.http.HttpServletRequestWrapper
implements org.apache.commons.fileupload.ProgressListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MULTIPART_UPLOAD |
static java.lang.String |
REVISION |
| Constructor and Description |
|---|
MultipartRequest(javax.servlet.http.HttpServletRequest request,
java.io.File directory,
int sizeThreshold,
long sizeMax,
boolean cacheMultipart) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.ServletInputStream |
getInputStream() |
javax.servlet.http.HttpServletRequest |
getMultipartServletRequest() |
java.lang.String |
getParameter(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
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) |
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, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, 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, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic static final java.lang.String REVISION
public static final java.lang.String MULTIPART_UPLOAD
public MultipartRequest(javax.servlet.http.HttpServletRequest request,
java.io.File directory,
int sizeThreshold,
long sizeMax,
boolean cacheMultipart)
throws java.io.UnsupportedEncodingException,
org.apache.commons.fileupload.FileUploadException
java.io.UnsupportedEncodingExceptionorg.apache.commons.fileupload.FileUploadExceptionpublic void update(long pBytesRead,
long pContentLength,
int pItems)
update in interface org.apache.commons.fileupload.ProgressListenerpublic javax.servlet.http.HttpServletRequest getMultipartServletRequest()
public void setParameter(java.lang.String key,
java.lang.String value)
public void setParameter(java.lang.String key,
java.lang.String[] values)
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.servlet.ServletRequestgetInputStream in class javax.servlet.ServletRequestWrapperjava.io.IOExceptionServletRequest.getInputStream()public java.lang.String getParameter(java.lang.String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperServletRequest.getParameter(String)public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperServletRequest.getParameterMap()public java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperServletRequest.getParameterNames()public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperServletRequest.getParameterValues(String)Copyright © 2001-2017 Jalios SA. All Rights Reserved.