GitHub user zolvarga opened a pull request: https://github.com/apache/qpid-proton/pull/71
Adding WebSocket functionality to Proton-J Adding WebSocket functionality to Proton-J Notes: - The WebSocket layer completely separated, IOHandler and Transport is modified only to initialize WebSocket layer - If WebSocket is not initialized it is transparent and Proton-J functionality reserved - 100% test coverage for new classes (except static library functions) - Server, path, sub-protocol and additional headers initialization supported - WebSocketHandler interface exposed to client code - it allows to use external WebSocket implementation - WebSocket implementation supports: Binary payload only (underlying messages are AMQP) Client mode only (masking is always on) Extensions are not implemented (yet) - No client sample (yet) You can merge this pull request into a Git repository by running: $ git pull https://github.com/zolvarga/qpid-proton-j-websocket-support develop Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-proton/pull/71.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #71 ---- commit 591a068f47f41cc76cf2c12b7e015a1ca1368b7f Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-02-10T21:20:27Z Implement WebSocket support in Proton-J Part 1 - Interfaces and base classes + WebSocketImpl class placeholder commit ba157ea4f7e6884922859066ac73ad105e87021e Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-02-12T00:19:51Z Part 2 - Now WebSocket class created in the IOHandler but not activated yet. WebSocket class should be transparent and pass all transport request to the underlying layer. Proton unit tests and IoT SDK E2E tests are passing. commit df82d1f6c4e1962072083dc5404cead508655fa8 Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-02-26T00:15:41Z Implement WebSocket support in Proton-J - Part 3 commit c3611a95fa1b7decfa8995c6618e1807a3e28897 Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-03-04T22:23:04Z Implement WebSocket support in Proton-J - Part 4 All functionality implemented and works - no unit tests. WebSocket layer is completely separated so Sasl and transport changes are rolled back. Implemented: WebSocket wrap/unwrap, ping-pong mechanism, reply validation commit ef59d97251a09bdc89c9d6e33eb50444b8cffd25 Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-03-10T20:50:08Z Implement WebSocket support in Proton-J - Unit tests implemented commit ff93ecb9e7005cc8ab6b47676d13939e2418365f Author: Zoltan Varga <zolva...@microsoft.com> Date: 2016-03-10T20:50:51Z Tools... commit 0036805b8d612887ea16e41d8c2328c05181fb11 Author: Zoltan <varga> Date: 2016-03-13T18:39:16Z Merge branch 'master' of https://github.com/apache/qpid-proton into develop Conflicts: proton-j/src/main/java/org/apache/qpid/proton/engine/impl/SaslImpl.java commit 5e3161bf05981e7bc61104928d07e2cf73e20787 Author: Zoltan <varga> Date: 2016-03-13T19:27:55Z Saving before pull request commit bcec65f4e08f92c109719b8d614d00e43aea2063 Author: Zoltan <varga> Date: 2016-03-13T21:12:20Z Reformat code commit e27c6774e30c5f4f17096df559b02addc87d1676 Author: Zoltan <varga> Date: 2016-03-13T21:32:44Z Reformat code ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---