org.apache.struts2.action

## Interface UploadedFilesAware

-     public interface UploadedFilesAware

  Actions that want to be aware of all the uploaded file should implement this interface. The `ActionFileUploadInterceptor` will use the interface to notify action about the multiple uploaded files.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `withUploadedFiles(List<UploadedFile> uploadedFiles)` Notifies action about the multiple uploaded files, when a single file is uploaded the list will have just one element

- - ### Method Detail

    - #### withUploadedFiles

          void withUploadedFiles(List<UploadedFile> uploadedFiles)

      Notifies action about the multiple uploaded files, when a single file is uploaded the list will have just one element
      Parameters:
        `uploadedFiles` - a list of `UploadedFile`, cannot be null. It can be empty.

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