java.lang.Object | |||
↳ | javax.servlet.ServletRequestWrapper | ||
↳ | javax.servlet.http.HttpServletRequestWrapper | ||
↳ | org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest |
Known Direct Subclasses |
Abstract base implementation of the MultipartHttpServletRequest interface. Provides management of pre-generated MultipartFile instances.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
javax.servlet.http.HttpServletRequest
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the contents plus description of an uploaded file in this request,
or
null if it does not exist. | |||||||||||
Return a
Map of the multipart files contained in this request. | |||||||||||
Return an
Iterator of String objects containing the
parameter names of the multipart files contained in this request. | |||||||||||
Return the contents plus description of uploaded files in this request,
or an empty list if it does not exist.
| |||||||||||
Return a
MultiValueMap of the multipart files contained in this request. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain the MultipartFile Map for retrieval,
lazily initializing it if necessary.
| |||||||||||
Lazily initialize the multipart request, if possible.
| |||||||||||
Set a Map with parameter names as keys and list of MultipartFile objects as values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.servlet.http.HttpServletRequestWrapper
| |||||||||||
From class
javax.servlet.ServletRequestWrapper
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.servlet.ServletRequest
| |||||||||||
From interface
javax.servlet.http.HttpServletRequest
| |||||||||||
From interface
org.springframework.web.multipart.MultipartRequest
|
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
request | the request to wrap |
---|
Return the contents plus description of an uploaded file in this request,
or null
if it does not exist.
name | a String specifying the parameter name of the multipart file |
---|
MultipartFile
object
Return a Map
of the multipart files contained in this request.
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.
name | a String specifying the parameter name of the multipart file |
---|
MultipartFile
listReturn a MultiValueMap
of the multipart files contained in this request.
MultipartFile
objects as valuesObtain the MultipartFile Map for retrieval, lazily initializing it if necessary.
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.