net.sourceforge.blogentis.utils.filters
Class MultipartWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
net.sourceforge.blogentis.utils.filters.MultipartWrapper
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
- public class MultipartWrapper
- extends javax.servlet.http.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
Field Summary |
(package private) com.oreilly.servlet.MultipartRequest |
mreq
|
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary |
MultipartWrapper(javax.servlet.http.HttpServletRequest req,
java.lang.String dir,
java.lang.String encoding)
|
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
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 |
Methods inherited from class javax.servlet.ServletRequestWrapper |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
mreq
com.oreilly.servlet.MultipartRequest mreq
MultipartWrapper
public MultipartWrapper(javax.servlet.http.HttpServletRequest req,
java.lang.String dir,
java.lang.String encoding)
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)
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.