Uses of Interface
org.apache.struts2.dispatcher.multipart.UploadedFile
Packages that use UploadedFile
Package
Description
Classes to help dispatch multipart HTTP requests.
Interceptor classes.
-
Uses of UploadedFile in org.apache.struts2.action
Method parameters in org.apache.struts2.action with type arguments of type UploadedFileModifier 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
Classes in org.apache.struts2.dispatcher.multipart that implement UploadedFileFields in org.apache.struts2.dispatcher.multipart with type parameters of type UploadedFileModifier and TypeFieldDescriptionprotected Map<String,
List<UploadedFile>> AbstractMultiPartRequest.uploadedFiles
Map between file fields and file data.Methods in org.apache.struts2.dispatcher.multipart that return UploadedFileModifier 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
Methods in org.apache.struts2.interceptor with parameters of type UploadedFileModifier and TypeMethodDescriptionprotected boolean
AbstractFileUploadInterceptor.acceptFile
(Object action, UploadedFile file, String originalFilename, String contentType, String inputName) Override for added functionality.