public class MultipartWrapper
extends javax.servlet.http.HttpServletRequestWrapper
See Jason Hunter's June 2001 article in JavaWorld for a full explanation of the class usage.
Constructor and Description |
---|
MultipartWrapper(javax.servlet.http.HttpServletRequest req,
java.lang.String dir) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType(java.lang.String name) |
java.io.File |
getFile(java.lang.String name) |
java.util.Enumeration |
getFileNames() |
java.lang.String |
getFilesystemName(java.lang.String name) |
java.lang.String |
getOriginalFileName(java.lang.String name) |
java.lang.String |
getParameter(java.lang.String name) |
java.util.Map |
getParameterMap() |
java.util.Enumeration |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public MultipartWrapper(javax.servlet.http.HttpServletRequest req, java.lang.String dir) throws java.io.IOException
java.io.IOException
public java.util.Enumeration getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
public java.util.Map getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration getFileNames()
public java.lang.String getFilesystemName(java.lang.String name)
public java.lang.String getOriginalFileName(java.lang.String name)
public java.lang.String getContentType(java.lang.String name)
public java.io.File getFile(java.lang.String name)