Introduce support for Jakarta WebSocket 2.1 #29436
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Related to #29434, the Jakarta WebSocket API 2.1 introduces a standard mechanism for performing a WebSocket protocol upgrade. While we can use that
upgradeHttpToWebSocket
method on Tomcat's implementation inTomcatRequestUpgradeStrategy
(as per #29434 for compatibility with Tomcat 10.0), we can also introduce a newStandardWebSocketUpgradeStrategy
which can use theupgradeHttpToWebSocket
method on the Jakarta WebSocket 2.1ServerContainer
interface - and be chosen inAbstractHandshakeHandler
when no specific server API has been discovered.The text was updated successfully, but these errors were encountered: