[WEBSOCKET_SPEC-13] Provide ability to attach arbitrary objects to a Session Created: 05/Oct/12  Updated: 30/Nov/12  Due: 16/Nov/12  Resolved: 30/Nov/12

Status: Resolved
Project: websocket-spec
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Sutanu Ghosh Assignee: dannycoward
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


An application might need to maintain context across multiple messages from an endpoint. The Session interface should allow attaching arbitrary objects.
This is similar to HttpSession setAttribute(), getAttribute() etc. methods, but isolated from HttpSession.

The Session interface can just provide access to a Map object :
Map<String, Object> getAttributes()

Comment by dannycoward [ 30/Nov/12 ]

We are adding this for v009 of the spec, look out for it soon !

Comment by dannycoward [ 30/Nov/12 ]

adding this ability for v009 draft

Generated at Tue Aug 30 04:23:04 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.