websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-13

Provide ability to attach arbitrary objects to a Session

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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()

        Activity

        Sutanu Ghosh created issue -
        dannycoward made changes -
        Field Original Value New Value
        Due Date 2012-11-16 00:00:00.0
        Hide
        dannycoward added a comment -

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

        Show
        dannycoward added a comment - We are adding this for v009 of the spec, look out for it soon !
        dannycoward made changes -
        Assignee dannycoward [ dannycoward ]
        Hide
        dannycoward added a comment -

        adding this ability for v009 draft

        Show
        dannycoward added a comment - adding this ability for v009 draft
        dannycoward made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            dannycoward
            Reporter:
            Sutanu Ghosh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved: