Skip to content

Add ApplicationEvents for WebSocket connection and disconnection [SPR-11578] #16202

@spring-projects-issues

Description

@spring-projects-issues

Sergi Almar opened SPR-11578 and commented

Even if detecting WebSocket connections and disconnections is currently doable with ChannelInterceptor / HandlerDecorator, these require some extra logic and configuration. It would be useful to have a more event driven and decoupled solution with ApplicationEvent s like WebSocketConnectEvent and WebSocketDisconnectEvent


Affects: 4.0.2

Referenced from: commits 13da705, a247d5f

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