com.oreilly.servlet
Class MultipartWrapper
java.lang.Object
HttpServletRequestWrapper
com.oreilly.servlet.MultipartWrapper
public class MultipartWrapper
- extends HttpServletRequestWrapper
A request wrapper to support MultipartFilter.
The filter capability requires Servlet API 2.3.
See Jason Hunter's June 2001 article in JavaWorld for a full explanation of
the class usage.
- Version:
- 1.0, 2001/06/19
- Author:
- Jason Hunter, Copyright © 2001
Constructor Summary |
MultipartWrapper(HttpServletRequest req,
java.lang.String dir)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipartWrapper
public MultipartWrapper(HttpServletRequest req,
java.lang.String dir)
throws java.io.IOException
- Throws:
java.io.IOException
getParameterNames
public java.util.Enumeration getParameterNames()
getParameter
public java.lang.String getParameter(java.lang.String name)
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterMap
public java.util.Map getParameterMap()
getFileNames
public java.util.Enumeration getFileNames()
getFilesystemName
public java.lang.String getFilesystemName(java.lang.String name)
getContentType
public java.lang.String getContentType(java.lang.String name)
getFile
public java.io.File getFile(java.lang.String name)