public class MultiPartRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
MultiPartRequestWrapper will parse a multipart request and provide a wrapper around the request. The
parse it uses depends on the "webwork.multipart.parser" setting. The present choices are "internal", the
webwork-multipart parser (derived from pell), "pell" for Jason Pell and "cos" for Jason Hunter.| Constructor and Description |
|---|
MultiPartRequestWrapper(javax.servlet.http.HttpServletRequest request,
String saveDir,
Integer maxSize) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType(String name) |
File |
getFile(String name) |
Enumeration |
getFileNames() |
String |
getFilesystemName(String name) |
InputStream |
getMemoryFileContents(String name) |
String |
getParameter(String name) |
Map |
getParameterMap() |
Enumeration |
getParameterNames() |
String[] |
getParameterValues(String name) |
protected Enumeration |
mergeParams(Enumeration params1,
Enumeration params2) |
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 MultiPartRequestWrapper(javax.servlet.http.HttpServletRequest request,
String saveDir,
Integer maxSize)
throws IOException
IOExceptionpublic Enumeration getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperpublic Map getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic Enumeration getFileNames()
protected Enumeration mergeParams(Enumeration params1, Enumeration params2)
public InputStream getMemoryFileContents(String name)
Copyright © 2013 Atlassian. All Rights Reserved.