Package 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
Modifier and TypeMethodDescriptionvoid
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 Details
-
withUploadedFiles
Notifies action about the multiple uploaded files, when a single file is uploaded the list will have just one element- Parameters:
uploadedFiles
- a list ofUploadedFile
, cannot be null. It can be empty.
-