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

Pass WebSocket session attributes in HandshakeInterceptor and expose them to MessageMapping methods [SPR-11566] #16190

Closed
spring-projects-issues opened this issue Mar 17, 2014 · 1 comment
Assignees
Labels
in: web type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Mar 17, 2014

Sergi Almar opened SPR-11566 and commented

The HandshakeInterceptor allows passing attributes to the WebSocket session, these seem to be handshake specific attributes, it would be useful if those were WebSocket session attributes instead.

Additionally, it would be also useful to make these attributes available in the MessageMapping methods in the same fashion as request parameters in Spring MVC.


Affects: 4.0.2

Issue Links:

  • #15929 Provide a websocket scope
@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Mar 19, 2014

Rossen Stoyanchev commented

See these two commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants