From 9aafe4d1c535e9f79c09f33d2e1a1f8cc344eaa0 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 31 Aug 2015 11:43:31 +0300 Subject: Use Transport.WEBSOCKET_XHR instead of setter for mixing websockets and XHR (#11733) Change-Id: I2fad7d367d8a4ba476ae0705672ebc2ee7cfeb1c --- shared/src/com/vaadin/shared/ui/ui/Transport.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shared/src') 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 @@ -27,6 +27,12 @@ public enum Transport { * Websockets */ WEBSOCKET("websocket"), + /** + * Websockets for server to client, XHR for client to server + * + * @since 7.6 + */ + WEBSOCKET_XHR("websocket-xhr"), /** * HTTP streaming * -- cgit v1.2.3