-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
OpenLiberty/open-liberty#25088
Differences between Jakarta WebSocket 2.2 and 2.1
As 2.2 is a minor release, it only offers incremental improvements.
New Additions:
-
The getSession method has been added to the
jakarta.websocket.SendResultclass. This allows futures to acquire the associated websocket session easily. -
The @OnMessage.maxMessageSize annotation cannot be set to a value higher than Integer.MAX_VALUE (2 Gigabytes, in practice) due to type conflict between the annotation (long) and the Session.setMaxTextMessageBufferSize method (int).
Specification Clarification:
- Automated ping / pong notifications will be an implementation responsibility, not the APIs. As there have been no feature requests, no changes have been made in Liberty.
Removals:
- All SecurityManager references within the API have been removed to align with the newer JDKs.
Reactions are currently unavailable