java.lang.Object |
↳ |
javax.servlet.ServletRequestWrapper |
|
↳ |
javax.servlet.http.HttpServletRequestWrapper |
|
|
↳ |
org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest |
Known Direct Subclasses
|
Class Overview
Abstract base implementation of the MultipartHttpServletRequest interface.
Provides management of pre-generated MultipartFile instances.
Summary
[Expand]
Inherited Constants |
From interface
javax.servlet.http.HttpServletRequest
|
[Expand]
Inherited Methods |
From class
javax.servlet.http.HttpServletRequestWrapper
String
|
getAuthType()
|
String
|
getContextPath()
|
Cookie[]
|
getCookies()
|
long
|
getDateHeader(String arg0)
|
String
|
getHeader(String arg0)
|
Enumeration
|
getHeaderNames()
|
Enumeration
|
getHeaders(String arg0)
|
int
|
getIntHeader(String arg0)
|
String
|
getMethod()
|
String
|
getPathInfo()
|
String
|
getPathTranslated()
|
String
|
getQueryString()
|
String
|
getRemoteUser()
|
String
|
getRequestURI()
|
StringBuffer
|
getRequestURL()
|
String
|
getRequestedSessionId()
|
String
|
getServletPath()
|
HttpSession
|
getSession(boolean arg0)
|
HttpSession
|
getSession()
|
Principal
|
getUserPrincipal()
|
boolean
|
isRequestedSessionIdFromCookie()
|
boolean
|
isRequestedSessionIdFromURL()
|
boolean
|
isRequestedSessionIdFromUrl()
|
boolean
|
isRequestedSessionIdValid()
|
boolean
|
isUserInRole(String arg0)
|
|
From class
javax.servlet.ServletRequestWrapper
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.servlet.ServletRequest
abstract
Object
|
getAttribute(String arg0)
|
abstract
Enumeration
|
getAttributeNames()
|
abstract
String
|
getCharacterEncoding()
|
abstract
int
|
getContentLength()
|
abstract
String
|
getContentType()
|
abstract
ServletInputStream
|
getInputStream()
|
abstract
String
|
getLocalAddr()
|
abstract
String
|
getLocalName()
|
abstract
int
|
getLocalPort()
|
abstract
Locale
|
getLocale()
|
abstract
Enumeration
|
getLocales()
|
abstract
String
|
getParameter(String arg0)
|
abstract
Map
|
getParameterMap()
|
abstract
Enumeration
|
getParameterNames()
|
abstract
String[]
|
getParameterValues(String arg0)
|
abstract
String
|
getProtocol()
|
abstract
BufferedReader
|
getReader()
|
abstract
String
|
getRealPath(String arg0)
|
abstract
String
|
getRemoteAddr()
|
abstract
String
|
getRemoteHost()
|
abstract
int
|
getRemotePort()
|
abstract
RequestDispatcher
|
getRequestDispatcher(String arg0)
|
abstract
String
|
getScheme()
|
abstract
String
|
getServerName()
|
abstract
int
|
getServerPort()
|
abstract
boolean
|
isSecure()
|
abstract
void
|
removeAttribute(String arg0)
|
abstract
void
|
setAttribute(String arg0, Object arg1)
|
abstract
void
|
setCharacterEncoding(String arg0)
|
|
From interface
javax.servlet.http.HttpServletRequest
abstract
String
|
getAuthType()
|
abstract
String
|
getContextPath()
|
abstract
Cookie[]
|
getCookies()
|
abstract
long
|
getDateHeader(String arg0)
|
abstract
String
|
getHeader(String arg0)
|
abstract
Enumeration
|
getHeaderNames()
|
abstract
Enumeration
|
getHeaders(String arg0)
|
abstract
int
|
getIntHeader(String arg0)
|
abstract
String
|
getMethod()
|
abstract
String
|
getPathInfo()
|
abstract
String
|
getPathTranslated()
|
abstract
String
|
getQueryString()
|
abstract
String
|
getRemoteUser()
|
abstract
String
|
getRequestURI()
|
abstract
StringBuffer
|
getRequestURL()
|
abstract
String
|
getRequestedSessionId()
|
abstract
String
|
getServletPath()
|
abstract
HttpSession
|
getSession(boolean arg0)
|
abstract
HttpSession
|
getSession()
|
abstract
Principal
|
getUserPrincipal()
|
abstract
boolean
|
isRequestedSessionIdFromCookie()
|
abstract
boolean
|
isRequestedSessionIdFromURL()
|
abstract
boolean
|
isRequestedSessionIdFromUrl()
|
abstract
boolean
|
isRequestedSessionIdValid()
|
abstract
boolean
|
isUserInRole(String arg0)
|
|
From interface
org.springframework.web.multipart.MultipartRequest
|
Protected Constructors
protected
AbstractMultipartHttpServletRequest
(HttpServletRequest request)
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
Parameters
request
| the request to wrap
|
Public Methods
Return the contents plus description of an uploaded file in this request,
or null
if it does not exist.
Parameters
name
| a String specifying the parameter name of the multipart file |
Return a Map
of the multipart files contained in this request.
Returns
- a map containing the parameter names as keys, and the
MultipartFile
objects as values
Return an Iterator
of String objects containing the
parameter names of the multipart files contained in this request. These
are the field names of the form (like with normal parameters), not the
original file names.
Return the contents plus description of uploaded files in this request,
or an empty list if it does not exist.
Parameters
name
| a String specifying the parameter name of the multipart file |
Return a MultiValueMap
of the multipart files contained in this request.
Returns
- a map containing the parameter names as keys, and a list of
MultipartFile
objects as values
Protected Methods
Obtain the MultipartFile Map for retrieval,
lazily initializing it if necessary.
protected
void
initializeMultipart
()
Lazily initialize the multipart request, if possible.
Only called if not already eagerly initialized.
Set a Map with parameter names as keys and list of MultipartFile objects as values.
To be invoked by subclasses on initialization.