From 6fe79a8f65f96c08946c36607428c8c5790c1f33 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 27 Apr 2015 12:03:47 +0300 Subject: Allow using XHR for client to server requests and websockets for push (#12518) Change-Id: I6a9cc8f97d7e3578bf7aa9ce512d042ab637494e --- shared/src/com/vaadin/shared/ui/ui/UIState.java | 1 + 1 file changed, 1 insertion(+) (limited to 'shared/src/com') diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 0e21324cc2..6991f2b1cb 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -114,6 +114,7 @@ public class UIState extends TabIndexState { public static final String TRANSPORT_PARAM = "transport"; public static final String FALLBACK_TRANSPORT_PARAM = "fallbackTransport"; + public boolean alwaysUseXhrForServerRequests = false; public PushMode mode = PushMode.DISABLED; public Map parameters = new HashMap(); { -- cgit v1.2.3