Skip to content

Introduce support for Jakarta WebSocket 2.1 #29436

Closed

Description

@jhoeller

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 in TomcatRequestUpgradeStrategy (as per #29434 for compatibility with Tomcat 10.0), we can also introduce a new StandardWebSocketUpgradeStrategy which can use the upgradeHttpToWebSocket method on the Jakarta WebSocket 2.1 ServerContainer interface - and be chosen in AbstractHandshakeHandler when no specific server API has been discovered.

Activity

  1. added
    in: webIssues in web modules (web, webmvc, webflux, websocket)
    on Nov 5, 2022
  2. added this to the 6.0.0-RC4 milestone on Nov 5, 2022
  3. self-assigned this
    on Nov 5, 2022
  4. changed the title [-]Introduce support for Jakarta WebSocket API 2.1[/-] [+]Introduce support for Jakarta WebSocket 2.1[/+] on Nov 6, 2022
  5. added a commit that references this issue on Sep 17, 2026
    19cf503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions