# Uses of Interface
org.apache.struts2.dispatcher.multipart.UploadedFile

Packages that use UploadedFile
Package
Description
org.apache.struts2.action
org.apache.struts2.dispatcher.multipart
Classes to help dispatch multipart HTTP requests.
org.apache.struts2.interceptor
Interceptor classes.

- ## Uses of UploadedFile in org.apache.struts2.action

  Method parameters in org.apache.struts2.action with type arguments of type UploadedFile
  Modifier and Type
  Method
  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

- ## Uses of UploadedFile in org.apache.struts2.dispatcher.multipart

  Classes in org.apache.struts2.dispatcher.multipart that implement UploadedFile
  Modifier and Type
  Class
  Description
  `class`
  `StrutsUploadedFile`
  Fields in org.apache.struts2.dispatcher.multipart with type parameters of type UploadedFile
  Modifier and Type
  Field
  Description
  `protected Map<String,List<UploadedFile>>`
  AbstractMultiPartRequest.`uploadedFiles`
  Map between file fields and file data.
  Methods in org.apache.struts2.dispatcher.multipart that return UploadedFile
  Modifier and Type
  Method
  Description
  `UploadedFile`
  StrutsUploadedFile.Builder.`build()`
  `UploadedFile[]`
  AbstractMultiPartRequest.`getFile(String fieldName)`
  `UploadedFile[]`
  MultiPartRequest.`getFile(String fieldName)`
  Returns a `UploadedFile` object for the filename specified or `null` if no files are associated with the given field name.
  `UploadedFile[]`
  MultiPartRequestWrapper.`getFiles(String fieldName)`
  Get a `File` for the given input field name.

- ## Uses of UploadedFile in org.apache.struts2.interceptor

  Methods in org.apache.struts2.interceptor with parameters of type UploadedFile
  Modifier and Type
  Method
  Description
  `protected boolean`
  AbstractFileUploadInterceptor.`acceptFile(Object action, UploadedFile file, String originalFilename, String contentType, String inputName)`
  Override for added functionality.