# Package org.apache.commons.fileupload2.jakarta.servlet5

package org.apache.commons.fileupload2.jakarta.servlet5

An implementation of `AbstractFileUpload` for use in servlets conforming to the namespace `jakarta.servlet`.

The following code fragment demonstrates typical usage.

     DiskFileItemFactory factory = DiskFileItemFactory().builder().get();
     // Configure the factory here, if desired.
     JakartaServletFileUpload upload = new JakartaServletFileUpload(factory);
     // Configure the uploader here, if desired.
     List fileItems = upload.parseRequest(request);

Please see the FileUpload User Guide for further details and examples of how to use this package.

- Classes
  Class
  Description
  JakartaFileCleaner
  A servlet context listener, which ensures that the `FileCleaningTracker`'s reaper thread is terminated, when the web application is destroyed.
  JakartaServletDiskFileUpload
  A JakartaServletFileUpload for `DiskFileItem` and `DiskFileItemFactory`.
  JakartaServletFileUpload<I extends FileItem<I>,F extends FileItemFactory<I>>
  High level API for processing file uploads.
  JakartaServletRequestContext
  Provides access to the request information needed for a request made to an HTTP servlet.