aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-05-11 16:49:19 +0300
committerPekka Hyvönen <pekka@vaadin.com>2017-05-11 16:49:19 +0300
commitbda8acb85610f1532b9f11a8a9530c694051c2d9 (patch)
treec541bf0a3a12989e12c8a840bb001c671f77ab4a /shared
parent8591ce8debbdd56c0f52b9fcca4346922282d5f7 (diff)
downloadvaadin-framework-bda8acb85610f1532b9f11a8a9530c694051c2d9.tar.gz
vaadin-framework-bda8acb85610f1532b9f11a8a9530c694051c2d9.zip
Poll server for changes at the end of each file upload (#9300)
* Poll server for changes at the end of each file upload
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/FileDropTargetRpc.java5
1 files changed, 5 insertions, 0 deletions
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<String, FileParameters> fileParams);
+
+ /**
+ * Called to poll the server for changes when the upload is complete.
+ */
+ public void poll();
}