1. 03 9月, 2013 1 次提交
    • R
      Refine destination semantics for msg-handling methods · 0ac6998e
      Rossen Stoyanchev 提交于
      After this change, annotated message handling methods configured to use
      a destination prefix (e.g. "/app") no longer have to include the prefix
      in their mapping. For example if a client sends a message to "/app/foo"
      the annotated methods should be mapped with @MessageMapping("/foo").
      0ac6998e
  2. 02 9月, 2013 3 次提交
  3. 30 8月, 2013 1 次提交
  4. 29 8月, 2013 3 次提交
  5. 28 8月, 2013 4 次提交
  6. 23 8月, 2013 2 次提交
  7. 22 8月, 2013 7 次提交
  8. 14 8月, 2013 5 次提交
    • R
      Remove qetQueryParams from ServerHttpRequest · 71dbd7bc
      Rossen Stoyanchev 提交于
      71dbd7bc
    • R
      Remove Cookie support from ServerHttpRequest · 4c0490a0
      Rossen Stoyanchev 提交于
      Although ServletHttpRequest provides access to Cookies, other
      implementations may not. At the moment this was only needed
      for SockJS to check the value of the JSESSIONID cookie. This
      is now down by parsing the raw cookie values locally.
      
      If comprehensive cookie support is to be added, we should
      probably consider HttpHeaders as a potential candidate.
      4c0490a0
    • R
      Add HandshakeInterceptor · 319f18dd
      Rossen Stoyanchev 提交于
      A HandshakeInterceptor can be used to intercept WebSocket handshakes
      (or SockJS requests where a new session is created) in order to
      inspect the request and response before and after the handshake
      including the ability to pass attributes to the WebSocketHandler,
      which the hander can access through
      WebSocketSession.getHandshakeAttributes()
      
      An HttpSessionHandshakeInterceptor is available that can copy
      attributes from the HTTP session to make them available to the
      WebSocket session.
      
      Issue: SPR-10624
      319f18dd
    • R
      9925d838
    • R
      Polish WebSocketSession · 01feae0a
      Rossen Stoyanchev 提交于
      Update methods available on WebSocketSession interface.
      Introduce DelegatingWebSocketSession interface.
      01feae0a
  9. 08 8月, 2013 1 次提交
  10. 03 8月, 2013 5 次提交
  11. 02 8月, 2013 1 次提交
    • A
      Introduce SubProtocolHandler abstraction · 9e20a256
      Andy Wilkinson 提交于
      Add SubProtocolHandler to encapsulate the logic for using a
      sub-protocol.
      
      A SubProtocolWebSocketHandler is also provided to
      delegate to the appropriate SubProtocolHandler based on the
      negotiated sub-protocol value at handshake.
      
      StompSubProtocolHandler provides handling for STOMP messages.
      
      Issue: SPR-10786
      9e20a256
  12. 01 8月, 2013 3 次提交
    • R
      Fix failing test · dcf7813d
      Rossen Stoyanchev 提交于
      Issue: SPR-10800
      dcf7813d
    • R
      Refactor and polish SockJS package structure · ad40ecff
      Rossen Stoyanchev 提交于
      After this change the top-level sockjs package contains the main types
      for use in applications.
      ad40ecff
    • R
      Add SockJsMessageCodec · dad7115c
      Rossen Stoyanchev 提交于
      A SockJS message frame is an array of JSON-encoded messages and before
      this change the use of the Jackson 2 library was hard-coded.
      
      A Jackson 2 and Jackson 1.x implementations are provided and
      automatically used if those libraries are present on the classpath.
      
      Issue: SPR-10800
      dad7115c
  13. 28 7月, 2013 1 次提交
  14. 26 7月, 2013 1 次提交
    • R
      Fix issue in TomcatRequestUpgradeStrategy · 7bb9c639
      Rossen Stoyanchev 提交于
      The method WsServerContainer.getServerContainer() was removed from
      JSR-356 but remained in Tomcat a little while longer. Instead the
      ServerContainer is obtained through a ServletContext attribute.
      Tomcat has now removed this method, hence the need for this fix.
      7bb9c639
  15. 19 7月, 2013 1 次提交
  16. 18 7月, 2013 1 次提交