1. 31 5月, 2014 1 次提交
  2. 13 5月, 2014 1 次提交
  3. 12 5月, 2014 1 次提交
    • R
      Add WebSocket scope · 2c4cbb61
      Rossen Stoyanchev 提交于
      This change adds support for a custom "websocket" scope.
      
      WebSocket-scoped beans may be injected into controllers with message
      handling methods as well as channel interceptor registered on the
      "inboundClientChannel".
      
      Issue: SPR-11305
      2c4cbb61
  4. 10 5月, 2014 1 次提交
  5. 09 5月, 2014 1 次提交
    • R
      Allow use of @SendToUser even w/o authenticated user · 97fb308b
      Rossen Stoyanchev 提交于
      Before this change, subscribing to a user destination and use of
      @SendToUser annotation required an authenticated user.
      
      This change makes it possible to subscribe to a user destination from
      WebSocket sessions without an authenticated user. In such cases the
      destination is associated with one session only rather than with a
      user (and all their sessions).
      
      It is then also possible to send a message to a user destination
      via "/user/{sessionId}/.." rather than "/user/{user}/...".
      
      That means @SendToUser works relying on the session id of the input
      message, effectively sending a reply to destination private to the
      session.
      
      A key use case for this is handling an exception with an
      @MessageExceptionHandler method and sending a reply with @SendToUser.
      
      Issue: SPR-11309
      97fb308b
  6. 03 5月, 2014 1 次提交
  7. 30 4月, 2014 2 次提交
    • R
      Fix Javadoc typo · 209bb4ee
      Rossen Stoyanchev 提交于
      209bb4ee
    • S
      Integrate animal sniffer · bd85c916
      Stephane Nicoll 提交于
      Animal sniffer provides tools to assist verifying that classes
      compiled with a newer JDK are compatible with an older JDK.
      
      This integratesthe latest version of the tool (1.11) that
      permits the use of custom annotations. Added @UsesJava7,
      @UsesJava8 and @UsesSunHttpServer and annotated the few places
      where we rely on a specific environment.
      
      The verification process can be invoked by running the 'sniff'
      task.
      
      Issue: SPR-11604
      
      polishing
      bd85c916
  8. 28 4月, 2014 1 次提交
  9. 26 4月, 2014 1 次提交
  10. 22 4月, 2014 2 次提交
  11. 18 4月, 2014 1 次提交
  12. 15 4月, 2014 1 次提交
  13. 14 4月, 2014 3 次提交
    • R
      Switch BufferingStompDecoder to decoration · 65b17b80
      Rossen Stoyanchev 提交于
      The BufferingStompDecoder now decorates rather than extend
      StompDecoder. This allows a single StompDecoder instance to be
      configured and extended independantly while buffering remains a
      separate concern.
      65b17b80
    • R
      Make use of enhanced MessageHeaderAccessor support · ae942ffd
      Rossen Stoyanchev 提交于
      Mutate rather than re-create headers when decoding STOMP messages
      before a message is sent on a message channel.
      
      Use MessageBuilder.createMessage to ensure the fully prepared
      MessageHeaders is used directly MessageHeaderAccessor instance.
      
      Issue: SPR-11468
      ae942ffd
    • R
      Enhance MessageHeaderAccessor support · 4867546a
      Rossen Stoyanchev 提交于
      Refine semantics of ID and TIMESTAMP headers provided to protected
      MessageHeaders constructor.
      
      Refactor internal implementation of MessageHeaderAccessor.
      
      Support mutating headers from a single thread while a message is being
      built (e.g. StompDecoder creating message + then adding session id).
      
      Improve immutablity in NativeMessageHeaderAccessor and in
      StompHeaderAccessor.
      
      Optimize object creation for initializing messages and subsequent
      accessing their headers.
      
      Introduce MessageHeaderAccessorFactory support to enable applying a
      common strategies for ID and TIMESTAMP generation to every message.
      
      Add MessageBuilder shortcut factory method for creating messages from
      payload and a full-prepared MessageHeaders instance. Also add
      equivalent constructors to GenericMessage and ErrorMessage.
      
      Issue: SPR-11468
      4867546a
  14. 05 4月, 2014 1 次提交
    • R
      Rename header for "orig" destination · 5e925ac0
      Rossen Stoyanchev 提交于
      The UserDestinationMessageHandler adds a header providing a hint for
      what the original destination a user may have used when subscribing.
      That is then used when writing messages back to WebSocket clients to
      ensure they dont see the internally used, transformed user destination.
      
      This change moves the header name constatn to make it more broadly
      applicable. For example SPR-11645.
      5e925ac0
  15. 04 4月, 2014 2 次提交
  16. 02 4月, 2014 3 次提交
  17. 01 4月, 2014 3 次提交
  18. 28 3月, 2014 1 次提交
  19. 26 3月, 2014 1 次提交
  20. 25 3月, 2014 10 次提交
  21. 24 3月, 2014 1 次提交
  22. 23 3月, 2014 1 次提交