]> source.dussan.org Git - vaadin-framework.git/commit
Support JSR-356 websockets (#16738, #14432)
authorArtur Signell <artur@vaadin.com>
Wed, 18 Mar 2015 14:22:08 +0000 (16:22 +0200)
committerVaadin Code Review <review@vaadin.com>
Thu, 2 Apr 2015 13:08:42 +0000 (13:08 +0000)
commitdad7ac2309a550de6b02614c3a9be93d84e843e0
treeafe822155f91155a17f55d291f621366c2c650cf
parent99882e2958e5692fbe52bd478a5c84ac65266ce6
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
13 files changed:
WebContent/WEB-INF/web.xml
client/src/com/vaadin/client/communication/AtmospherePushConnection.java
push/ivy.xml
server/ivy.xml
server/src/com/vaadin/server/ServletPortletHelper.java
server/src/com/vaadin/server/communication/JSR356WebsocketInitializer.java [new file with mode: 0644]
server/src/com/vaadin/server/communication/PushAtmosphereHandler.java [new file with mode: 0644]
server/src/com/vaadin/server/communication/PushHandler.java
server/src/com/vaadin/server/communication/PushRequestHandler.java
server/tests/src/com/vaadin/server/MockServletContext.java
server/tests/src/com/vaadin/tests/server/ClassesSerializableTest.java
uitest/src/com/vaadin/tests/integration/ServletIntegrationJSR356WebsocketUITest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/tb3/ServletIntegrationTests.java