| Package | Description | 
|---|---|
| org.apache.struts2.action | |
| org.apache.struts2.dispatcher.multipart | Classes to help dispatch multipart HTTP requests. | 
| org.apache.struts2.interceptor | 
| 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 | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | StrutsUploadedFile | 
| Modifier and Type | Method and Description | 
|---|---|
| UploadedFile | StrutsUploadedFile.Builder. build() | 
| UploadedFile[] | MultiPartRequest. getFile(String fieldName)Returns a  UploadedFileobject 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. | 
| 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–2025 Apache Software Foundation. All rights reserved.