public class MultipartRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Class and Description |
|---|---|
static interface |
MultipartRequestWrapper.ParsingStrategy |
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_FILE_ITEM_MAP |
static String |
ATTRIBUTE_FILE_SIZE_EXCEPTION |
static String |
ATTRIBUTE_IS_MULTIPART |
| Constructor and Description |
|---|
MultipartRequestWrapper(javax.servlet.http.HttpServletRequest req,
edu.cornell.mannlib.vitro.webapp.controller.MultipartRequestWrapper.ListsMap<String> parameters,
edu.cornell.mannlib.vitro.webapp.controller.MultipartRequestWrapper.ListsMap<org.apache.commons.fileupload.FileItem> files) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameter(String name)
Look in the map of parsed parameters.
|
Map<String,String[]> |
getParameterMap()
Make a copy of the map of parsed parameters;
|
Enumeration<?> |
getParameterNames()
Look in the map of parsed parameters.
|
String[] |
getParameterValues(String name)
Look in the map of parsed parameters.
|
static javax.servlet.http.HttpServletRequest |
parse(javax.servlet.http.HttpServletRequest req,
MultipartRequestWrapper.ParsingStrategy strategy)
If this is a multipart request, wrap it.
|
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 String ATTRIBUTE_IS_MULTIPART
public static final String ATTRIBUTE_FILE_ITEM_MAP
public static final String ATTRIBUTE_FILE_SIZE_EXCEPTION
public MultipartRequestWrapper(javax.servlet.http.HttpServletRequest req,
edu.cornell.mannlib.vitro.webapp.controller.MultipartRequestWrapper.ListsMap<String> parameters,
edu.cornell.mannlib.vitro.webapp.controller.MultipartRequestWrapper.ListsMap<org.apache.commons.fileupload.FileItem> files)
public static javax.servlet.http.HttpServletRequest parse(javax.servlet.http.HttpServletRequest req,
MultipartRequestWrapper.ParsingStrategy strategy)
throws IOException
IOExceptionpublic String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic Enumeration<?> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperCopyright © 2016. All rights reserved.