Class FileUpload

    • Field Detail

      • fileItemFactory

        private FileItemFactory fileItemFactory
        The factory to use to create new form items.
    • Constructor Detail

      • FileUpload

        public FileUpload()
        Constructs an uninitialised instance of this class. A factory must be configured, using setFileItemFactory(), before attempting to parse requests.
        See Also:
        FileUpload(FileItemFactory)
      • FileUpload

        public FileUpload​(FileItemFactory fileItemFactory)
        Constructs an instance of this class which uses the supplied factory to create FileItem instances.
        See Also:
        FileUpload()
    • Method Detail

      • setFileItemFactory

        public void setFileItemFactory​(FileItemFactory factory)
        Sets the factory class to use when creating file items.
        Specified by:
        setFileItemFactory in class FileUploadBase
        Parameters:
        factory - The factory class for new file items.