com.vaadin.flow.server.streams.

Class FileUploadHandler

All Implemented Interfaces:

ElementRequestHandler, UploadHandler, Serializable

public class FileUploadHandler extends AbstractFileUploadHandler<FileUploadHandler>

Upload handler that stores the data into a file generated by the given FileFactory.

Since:

24.8

See Also:

  • Constructor Details

    • FileUploadHandler

      public FileUploadHandler(FileUploadCallback successCallback, FileFactory fileFactory)

      Constructor for file upload handler.

      Parameters:

      successCallback - consumer to be called when upload successfully completes

      fileFactory - factory for generating file to write to