Class JakartaServletFileUpload<I extends FileItem<I>,F extends FileItemFactory<I>>

java.lang.Object
org.apache.commons.fileupload2.core.AbstractFileUpload<HttpServletRequest,I,F>
org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<I,F>
Type Parameters:
I - The FileItem type.
F - the FileItemFactory type.
Direct Known Subclasses:
JakartaServletDiskFileUpload

public class JakartaServletFileUpload<I extends FileItem<I>,F extends FileItemFactory<I>> extends AbstractFileUpload<HttpServletRequest,I,F>
High level API for processing file uploads.

This class handles multiple files per single HTML widget, sent using multipart/mixed encoding type, as specified by RFC 1867. Use parseRequest(HttpServletRequest) to acquire a list of FileItems associated with a given HTML widget.

How the data for individual parts is stored is determined by the factory used to create them; a given part may be in memory, on disk, or somewhere else.