程序包 org.springframework.web.multipart
Multipart resolution framework for handling file uploads. Provides a MultipartResolver strategy interface, and a generic extension of the HttpServletRequest interface for accessing multipart files in web application code.
- 接口概要 - 接口 - 说明 - MultipartFile A representation of an uploaded file received in a multipart request.- MultipartHttpServletRequest Provides additional methods for dealing with multipart content within a servlet request, allowing to access uploaded files.- MultipartRequest This interface defines the multipart request access operations that are exposed for actual multipart requests.- MultipartResolver A strategy interface for multipart file upload resolution in accordance with RFC 1867.
- 异常错误概要 - 异常错误 - 说明 - MaxUploadSizeExceededException MultipartException subclass thrown when an upload exceeds the maximum upload size allowed.- MultipartException Exception thrown when multipart resolution fails.