From dad7ac2309a550de6b02614c3a9be93d84e843e0 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 18 Mar 2015 16:22:08 +0200 Subject: Support JSR-356 websockets (#16738, #14432) * Initialize Atmosphere in a context listener as JSR-356 requires * Do not run JSR-356 or websocket tests on servers without support * Adds /run-jsr356/ for testing JSR-356 websockets with uitest.war * Change push path to /PUSH (from /PUSH/) to be compatible with JSR 356 endpoint mappings in Atmosphere (#14381) Change-Id: Iec43f26df8c7b2bd347a713623a5298cc9e7b2cd --- .../src/com/vaadin/client/communication/AtmospherePushConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/com/vaadin/client/communication/AtmospherePushConnection.java b/client/src/com/vaadin/client/communication/AtmospherePushConnection.java index e544c91d0f..cd989d7ea4 100644 --- a/client/src/com/vaadin/client/communication/AtmospherePushConnection.java +++ b/client/src/com/vaadin/client/communication/AtmospherePushConnection.java @@ -197,7 +197,7 @@ public class AtmospherePushConnection implements PushConnection { private void connect() { String baseUrl = connection .translateVaadinUri(ApplicationConstants.APP_PROTOCOL_PREFIX - + ApplicationConstants.PUSH_PATH + '/'); + + ApplicationConstants.PUSH_PATH); String extraParams = UIConstants.UI_ID_PARAMETER + "=" + connection.getConfiguration().getUIId(); -- cgit v1.2.3