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

- Packages that use UploadedFile
  Package | Description
  --- | ---
  org.apache.struts2.action |
  org.apache.struts2.dispatcher.multipart | Classes to help dispatch multipart HTTP requests.
  org.apache.struts2.interceptor |

- - ### Uses of UploadedFile in org.apache.struts2.action

    Method parameters in org.apache.struts2.action with type arguments of type UploadedFile
    Modifier and Type | Method and Description
    --- | ---
    `void` | UploadedFilesAware.`withUploadedFiles(List<UploadedFile> uploadedFiles)` Notifies action about the multiple uploaded files, when a single file is uploaded the list will have just one element

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

    Classes in org.apache.struts2.dispatcher.multipart that implement UploadedFile
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StrutsUploadedFile`

    Methods in org.apache.struts2.dispatcher.multipart that return UploadedFile
    Modifier and Type | Method and Description
    --- | ---
    `UploadedFile` | StrutsUploadedFile.Builder.`build()`
    `UploadedFile[]` | MultiPartRequest.`getFile(String fieldName)` Returns a `UploadedFile` object for the filename specified or `null` if no files are associated with the given field name.
    `UploadedFile[]` | JakartaMultiPartRequest.`getFile(String fieldName)`
    `UploadedFile[]` | JakartaStreamMultiPartRequest.`getFile(String fieldName)`
    `UploadedFile[]` | MultiPartRequestWrapper.`getFiles(String fieldName)` Get a `File[]` for the given input field name.

  - ### Uses of UploadedFile in org.apache.struts2.interceptor

    Methods in org.apache.struts2.interceptor with parameters of type UploadedFile
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | AbstractFileUploadInterceptor.`acceptFile(Object action, UploadedFile file, String originalFilename, String contentType, String inputName)` Override for added functionality.

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