Uses of Interface
org.apache.struts2.dispatcher.multipart.UploadedFile
Package
Description
Classes to help dispatch multipart HTTP requests.
Interceptor classes.
-
Uses of UploadedFile in org.apache.struts2.action
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeFieldDescriptionprotected Map<String,
List<UploadedFile>> AbstractMultiPartRequest.uploadedFiles
Map between file fields and file data.Modifier and TypeMethodDescriptionStrutsUploadedFile.Builder.build()
Returns aUploadedFile
object for the filename specified or null if no files are associated with the given field name.Get aFile
for the given input field name. -
Uses of UploadedFile in org.apache.struts2.interceptor
Modifier and TypeMethodDescriptionprotected boolean
AbstractFileUploadInterceptor.acceptFile
(Object action, UploadedFile file, String originalFilename, String contentType, String inputName) Override for added functionality.