## Uses of Interface
org.apache.struts2.dispatcher.multipart.MultiPartRequest

- Packages that use MultiPartRequest
  Package | Description
  --- | ---
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.
  org.apache.struts2.dispatcher.multipart | Classes to help dispatch multipart HTTP requests.

- - ### Uses of MultiPartRequest in org.apache.struts2.dispatcher

    Methods in org.apache.struts2.dispatcher that return MultiPartRequest
    Modifier and Type | Method and Description
    --- | ---
    `protected MultiPartRequest` | Dispatcher.`getMultiPartRequest()` On each request it must return a new instance as implementation could be not thread safe and thus ensure of resource clean up

  - ### Uses of MultiPartRequest in org.apache.struts2.dispatcher.multipart

    Classes in org.apache.struts2.dispatcher.multipart that implement MultiPartRequest
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractMultiPartRequest` Abstract class with some helper methods, it should be used when starting development of another implementation of `MultiPartRequest`
    `class` | `JakartaMultiPartRequest` Multipart form data request adapter for Jakarta Commons Fileupload package.
    `class` | `JakartaStreamMultiPartRequest` Multi-part form data request adapter for Jakarta Commons FileUpload package that leverages the streaming API rather than the traditional non-streaming API.

    Constructors in org.apache.struts2.dispatcher.multipart with parameters of type MultiPartRequest
    Constructor and Description
    `MultiPartRequestWrapper(MultiPartRequest multiPartRequest, javax.servlet.http.HttpServletRequest request, String saveDir, LocaleProvider provider)`
    `MultiPartRequestWrapper(MultiPartRequest multiPartRequest, javax.servlet.http.HttpServletRequest request, String saveDir, LocaleProvider provider, boolean disableRequestAttributeValueStackLookup)` Process file downloads and log any errors.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.