Package | Description |
---|---|
org.springframework.web.multipart |
Multipart resolution framework for handling file uploads.
|
org.springframework.web.multipart.commons |
MultipartResolver implementation for
Apache Commons FileUpload.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
org.springframework.web.servlet |
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
|
Modifier and Type | Class and Description |
---|---|
class |
MaxUploadSizeExceededException
MultipartException subclass thrown when an upload exceeds the
maximum upload size allowed.
|
Modifier and Type | Method and Description |
---|---|
MultipartHttpServletRequest |
MultipartResolver.resolveMultipart(HttpServletRequest request)
Parse the given HTTP request into multipart files and parameters,
and wrap the request inside a
MultipartHttpServletRequest
object that provides access to file descriptors and makes contained
parameters accessible via the standard ServletRequest methods. |
Modifier and Type | Method and Description |
---|---|
protected CommonsFileUploadSupport.MultipartParsingResult |
CommonsMultipartResolver.parseRequest(HttpServletRequest request)
Parse the given servlet request, resolving its multipart elements.
|
MultipartHttpServletRequest |
CommonsMultipartResolver.resolveMultipart(HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
static void |
StandardServletPartUtils.bindParts(HttpServletRequest request,
MutablePropertyValues mpvs,
boolean bindEmpty)
Bind all parts from the given servlet request.
|
static MultiValueMap<String,Part> |
StandardServletPartUtils.getParts(HttpServletRequest request)
Retrieve all parts from the given servlet request.
|
static List<Part> |
StandardServletPartUtils.getParts(HttpServletRequest request,
String name)
Retrieve all parts with the given name from the given servlet request.
|
MultipartHttpServletRequest |
StandardServletMultipartResolver.resolveMultipart(HttpServletRequest request) |
Constructor and Description |
---|
StandardMultipartHttpServletRequest(HttpServletRequest request)
Create a new StandardMultipartHttpServletRequest wrapper for the given request,
immediately parsing the multipart content.
|
StandardMultipartHttpServletRequest(HttpServletRequest request,
boolean lazyParsing)
Create a new StandardMultipartHttpServletRequest wrapper for the given request.
|
Modifier and Type | Method and Description |
---|---|
protected HttpServletRequest |
DispatcherServlet.checkMultipart(HttpServletRequest request)
Convert the request into a multipart request, and make multipart resolver available.
|