From bda8acb85610f1532b9f11a8a9530c694051c2d9 Mon Sep 17 00:00:00 2001 From: Adam Wagner Date: Thu, 11 May 2017 16:49:19 +0300 Subject: Poll server for changes at the end of each file upload (#9300) * Poll server for changes at the end of each file upload --- shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shared') diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java index fd290a41f5..521f3ec7e6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java @@ -34,4 +34,9 @@ public interface FileDropTargetRpc extends ServerRpc { * Generated file IDs and file parameters of dropped files. */ public void drop(Map fileParams); + + /** + * Called to poll the server for changes when the upload is complete. + */ + public void poll(); } -- cgit v1.2.3