org.mortbay.servlet
Class MultiPartFilter.Wrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.mortbay.servlet.MultiPartFilter.Wrapper
- All Implemented Interfaces:
- HttpServletRequest, ServletRequest
- Enclosing class:
- MultiPartFilter
private static class MultiPartFilter.Wrapper
- extends HttpServletRequestWrapper
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, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, 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, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute |
encoding
String encoding
map
MultiMap map
MultiPartFilter.Wrapper
public MultiPartFilter.Wrapper(HttpServletRequest request,
MultiMap map)
- Constructor.
- Parameters:
request
-
getContentLength
public int getContentLength()
- Specified by:
getContentLength
in interface ServletRequest
- Overrides:
getContentLength
in class ServletRequestWrapper
- See Also:
ServletRequest.getContentLength()
getParameter
public String getParameter(String name)
- Specified by:
getParameter
in interface ServletRequest
- Overrides:
getParameter
in class ServletRequestWrapper
- See Also:
ServletRequest.getParameter(java.lang.String)
getParameterMap
public Map getParameterMap()
- Specified by:
getParameterMap
in interface ServletRequest
- Overrides:
getParameterMap
in class ServletRequestWrapper
- See Also:
ServletRequest.getParameterMap()
getParameterNames
public Enumeration getParameterNames()
- Specified by:
getParameterNames
in interface ServletRequest
- Overrides:
getParameterNames
in class ServletRequestWrapper
- See Also:
ServletRequest.getParameterNames()
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValues
in interface ServletRequest
- Overrides:
getParameterValues
in class ServletRequestWrapper
- See Also:
ServletRequest.getParameterValues(java.lang.String)
setCharacterEncoding
public void setCharacterEncoding(String enc)
throws UnsupportedEncodingException
- Specified by:
setCharacterEncoding
in interface ServletRequest
- Overrides:
setCharacterEncoding
in class ServletRequestWrapper
- Throws:
UnsupportedEncodingException
- See Also:
ServletRequest.setCharacterEncoding(java.lang.String)