java.lang.Object | ||
↳ | ActionRequestWrapper | |
↳ | org.springframework.web.portlet.multipart.DefaultMultipartActionRequest |
Default implementation of the MultipartActionRequest
interface.
Provides management of pre-generated parameter values.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Wrap the given Portlet ActionRequest in a MultipartActionRequest.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Wrap the given Portlet ActionRequest in a MultipartActionRequest.
|
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.
| |||||||||||
Obtain the multipart parameter 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.
| |||||||||||
Set a Map with parameter names as keys and String array objects as values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.web.multipart.MultipartRequest
|
Wrap the given Portlet ActionRequest in a MultipartActionRequest.
request | the request to wrap |
---|---|
mpFiles | a map of the multipart files |
mpParams | a map of the parameters to expose, with Strings as keys and String arrays as values |
Wrap the given Portlet ActionRequest in a MultipartActionRequest.
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.
Obtain the multipart parameter 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.
Set a Map with parameter names as keys and String array objects as values. To be invoked by subclasses on initialization.