summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2014-01-22 17:48:19 +0200
committerArtur Signell <artur@vaadin.com>2014-01-31 09:21:44 +0000
commitefd8f211612fa55a2b35d1c72a9913f2011bfe7a (patch)
tree27851a8c6ebcd7c408054a9152f8fd870a771bc2 /shared
parent3c5644c4a3e0484b7e65a2852d9cedeeab167419 (diff)
downloadvaadin-framework-efd8f211612fa55a2b35d1c72a9913f2011bfe7a.tar.gz
vaadin-framework-efd8f211612fa55a2b35d1c72a9913f2011bfe7a.zip
Implement long polling support for push (#13011)
* The Transport enum has a new LONG_POLLING constant * AbstractTestUI supports the ?transport=long-polling GET parameter Change-Id: Ic2f5abfbd4aa3c875f5c83932ce5ee6f31c366ad
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/Transport.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/Transport.java b/shared/src/com/vaadin/shared/ui/ui/Transport.java
index ea641c0a3c..ebc0ba3aea 100644
--- a/shared/src/com/vaadin/shared/ui/ui/Transport.java
+++ b/shared/src/com/vaadin/shared/ui/ui/Transport.java
@@ -30,7 +30,11 @@ public enum Transport {
/**
* HTTP streaming
*/
- STREAMING("streaming");
+ STREAMING("streaming"),
+ /**
+ * HTTP long polling
+ */
+ LONG_POLLING("long-polling");
private String identifier;