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, upgrade
getAsyncContext, 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, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, 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, startAsync
public 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.UnsupportedEncodingException
org.apache.commons.fileupload.FileUploadException
public void update(long pBytesRead, long pContentLength, int pItems)
update
in interface org.apache.commons.fileupload.ProgressListener
public 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.ServletRequest
getInputStream
in class javax.servlet.ServletRequestWrapper
java.io.IOException
ServletRequest.getInputStream()
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameter(String)
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterMap()
public java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterNames()
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
ServletRequest.getParameterValues(String)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.