Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HandlerMapping for WebSocket Requests Only #26565

Closed
rstoyanchev opened this issue Feb 18, 2021 · 0 comments
Closed

HandlerMapping for WebSocket Requests Only #26565

rstoyanchev opened this issue Feb 18, 2021 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

rstoyanchev commented Feb 18, 2021

There is an existing WebSocketUrlHandlerMapping in spring-websocket (none in spring-webflux). However currently it does nothing more than delegate Llifecycle methods to handlers. What would be useful is the ability to map WebSocket requests only. That avoids the need for a dedicated path or sub-path specifically for WebSocket requests and makes it possible for the same URL can be handled differently when it isn't a WebSocket request.

@rstoyanchev rstoyanchev added the type: enhancement A general enhancement label Feb 18, 2021
@rstoyanchev rstoyanchev added this to the 5.3.5 milestone Feb 18, 2021
@rstoyanchev rstoyanchev self-assigned this Feb 18, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant