diff options
author | Artur Signell <artur@vaadin.com> | 2015-08-31 11:43:31 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-08-31 13:23:24 +0300 |
commit | 9aafe4d1c535e9f79c09f33d2e1a1f8cc344eaa0 (patch) | |
tree | 59a3e8acc083a06376c62e95a8b2f9ff7c0610a4 /shared | |
parent | b71cc2ffa9b96cfcaa045692eee4952678391850 (diff) | |
download | vaadin-framework-9aafe4d1c535e9f79c09f33d2e1a1f8cc344eaa0.tar.gz vaadin-framework-9aafe4d1c535e9f79c09f33d2e1a1f8cc344eaa0.zip |
Use Transport.WEBSOCKET_XHR instead of setter for mixing websockets and XHR (#11733)
Change-Id: I2fad7d367d8a4ba476ae0705672ebc2ee7cfeb1c
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/Transport.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/Transport.java b/shared/src/com/vaadin/shared/ui/ui/Transport.java index 54d0f08434..6263f3039d 100644 --- a/shared/src/com/vaadin/shared/ui/ui/Transport.java +++ b/shared/src/com/vaadin/shared/ui/ui/Transport.java @@ -28,6 +28,12 @@ public enum Transport { */ WEBSOCKET("websocket"), /** + * Websockets for server to client, XHR for client to server + * + * @since 7.6 + */ + WEBSOCKET_XHR("websocket-xhr"), + /** * HTTP streaming * * @deprecated Use the more reliable {@link Transport#LONG_POLLING} instead. |