Top Description Interfaces Classes
[default module]

Package org.springframework.web.multipart

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

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.

Interface Summary

Modifier and TypeInterface and Description
public interface
MultipartFile

A representation of an uploaded file received in a multipart request.

public interface
MultipartHttpServletRequest

Provides additional methods for dealing with multipart content within a servlet request, allowing to access uploaded files.

public interface
MultipartRequest

This interface defines the multipart request access operations that are exposed for actual multipart requests.

public interface
MultipartResolver

A strategy interface for multipart file upload resolution in accordance with RFC 1867.

Class Summary

Modifier and TypeClass and Description
public class
MaxUploadSizeExceededException

MultipartException subclass thrown when an upload exceeds the maximum upload size allowed.

public class
MultipartException

Exception thrown when multipart resolution fails.

pack-priv class
MultipartFileResource

Adapt MultipartFile to org.springframework.core.io.Resource, exposing the content as InputStream and also overriding contentLength() as well as getFilename().