Class MultipartAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration

Auto-configuration for multipart uploads. Adds a StandardServletMultipartResolver if none is present, and adds a multipartConfigElement if none is otherwise defined. The ServletWebServerApplicationContext will associate the MultipartConfigElement bean to any Servlet beans.

The MultipartConfigElement is a Servlet API that's used to configure how the server handles file uploads.

Since:
2.0.0
Author:
Greg Turnquist, Josh Long, Toshiaki Maki, Yanming Zhou