com.vaadin.shared.ui.dnd.

Interface FileDropTargetRpc

  • All Superinterfaces:

    Serializable, ServerRpc

    public interface FileDropTargetRpc
    extends ServerRpc

    RPC for requesting upload URLs for files dropped on the file drop target.

    Since:

    8.1

    Author:

    Vaadin Ltd

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void drop​(Map<String,​FileParameters> fileParams)

      Called when files are dropped onto the file drop target.

      void poll()

      Called to poll the server for changes when the upload is complete.

    • Method Detail

      • drop

        void drop​(Map<String,​FileParameters> fileParams)

        Called when files are dropped onto the file drop target.

        Parameters:

        fileParams - Generated file IDs and file parameters of dropped files.

      • poll

        void poll()

        Called to poll the server for changes when the upload is complete.