org.springframework.web.multipart.cos
Class CosMultipartHttpServletRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
org.springframework.web.multipart.cos.CosMultipartHttpServletRequest
- All Implemented Interfaces:
- HttpServletRequest, MultipartHttpServletRequest, ServletRequest
- public class CosMultipartHttpServletRequest
- extends AbstractMultipartHttpServletRequest
MultipartHttpServletRequest implementation for Jason Hunter's COS.
Wraps a COS MultipartRequest with Spring MultipartFile instances.
Not intended for direct application usage. Application code can cast
to this implementation to access the underlying COS MultipartRequest,
if it ever needs to.
- Since:
- 06.10.2003
- Author:
- Juergen Hoeller
- See Also:
CosMultipartResolver
,
MultipartRequest
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, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, 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.http.HttpServletRequest |
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 interface javax.servlet.ServletRequest |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
logger
protected static final Log logger
CosMultipartHttpServletRequest
protected CosMultipartHttpServletRequest(HttpServletRequest originalRequest,
com.oreilly.servlet.MultipartRequest multipartRequest)
- Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
- Parameters:
originalRequest
- the request to wrapmultipartRequest
- the COS multipart representation to use
getMultipartRequest
public com.oreilly.servlet.MultipartRequest getMultipartRequest()
- Return the underlying com.oreilly.servlet.MultipartRequest instance.
There is hardly any need to access this.
initFileMap
protected Map initFileMap(com.oreilly.servlet.MultipartRequest multipartRequest)
getParameterNames
public Enumeration getParameterNames()
getParameter
public String getParameter(String name)
getParameterValues
public String[] getParameterValues(String name)
getParameterMap
public Map getParameterMap()
Copyright (C) 2003-2004 The Spring Framework Project.