summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/Transport.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/Transport.java b/shared/src/com/vaadin/shared/ui/ui/Transport.java
index 1aae57e266..54d0f08434 100644
--- a/shared/src/com/vaadin/shared/ui/ui/Transport.java
+++ b/shared/src/com/vaadin/shared/ui/ui/Transport.java
@@ -29,7 +29,10 @@ public enum Transport {
WEBSOCKET("websocket"),
/**
* HTTP streaming
+ *
+ * @deprecated Use the more reliable {@link Transport#LONG_POLLING} instead.
*/
+ @Deprecated
STREAMING("streaming"),
/**
* HTTP long polling
@@ -47,11 +50,11 @@ public enum Transport {
}
/**
- * Returns a Transport by its identifier. Returns null if no value is found
- * for the given identifier.
- *
- * @since 7.3.10
- */
+ * Returns a Transport by its identifier. Returns null if no value is found
+ * for the given identifier.
+ *
+ * @since 7.3.10
+ */
public static Transport getByIdentifier(String identifier) {
for (Transport t : values()) {
if (t.getIdentifier().equals(identifier)) {