org.springframework.web.multipart.support
Class DefaultMultipartHttpServletRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest
- All Implemented Interfaces:
- HttpServletRequest, MultipartHttpServletRequest, ServletRequest
- public class DefaultMultipartHttpServletRequest
- extends AbstractMultipartHttpServletRequest
Default implementation of the MultipartHttpServletRequest interface.
Provides management of pre-generated parameter values.
- Since:
- 29-Sep-2003
- Author:
- Trevor D. Cook, Juergen Hoeller
- See Also:
MultipartResolver
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.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, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
DefaultMultipartHttpServletRequest
public DefaultMultipartHttpServletRequest(HttpServletRequest request,
Map multipartFiles,
Map parameters)
- Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
- Parameters:
request
- the request to wrapparameters
- a map of the parameters,
with Strings as keys and String arrays as valuesmultipartFiles
- a map of the multipart files
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.