summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-04-14 17:28:59 +0300
committerArtur Signell <artur@vaadin.com>2015-07-13 17:11:07 +0300
commit7dcba4ed859d53f3173c33ea3e2151d158e50968 (patch)
tree446007cb27393c0e2214bdc280393ba63730421b /shared
parent09526e4b7fd7e8253a3234b7b9fb7e9257e6f34c (diff)
downloadvaadin-framework-7dcba4ed859d53f3173c33ea3e2151d158e50968.tar.gz
vaadin-framework-7dcba4ed859d53f3173c33ea3e2151d158e50968.zip
Do not send empty server requests (#11733)
Change-Id: Icacc102132ac4fbd8e00f97b3a752f2483cf3936
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/upload/UploadServerRpc.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/upload/UploadServerRpc.java b/shared/src/com/vaadin/shared/ui/upload/UploadServerRpc.java
index b576eb9114..b353057ab3 100644
--- a/shared/src/com/vaadin/shared/ui/upload/UploadServerRpc.java
+++ b/shared/src/com/vaadin/shared/ui/upload/UploadServerRpc.java
@@ -27,4 +27,12 @@ public interface UploadServerRpc extends ServerRpc {
*/
void change(String filename);
+ /**
+ * Called to poll the server to see if any changes have been made e.g. when
+ * starting upload
+ *
+ * @since
+ */
+ void poll();
+
}