1. 26 11月, 2013 2 次提交
    • R
      Add SubProtocolCapable interface · 4e82416b
      Rossen Stoyanchev 提交于
      The addition of SubProtocolCapable simplifies configuration since it is
      no longer necessary to explicitly configure DefaultHandshakeHandler
      with a list of supported sub-protocols. We will not also check if the
      WebSocketHandler to use for the WebSocket request is an instance of
      SubProtocolCapable and obtain the list of sub-protocols that way. The
      provided SubProtocolWebSocketHandler does implement this interface.
      
      Issue: SPR-11111
      4e82416b
    • P
      Fix remaining compiler warnings · 59002f24
      Phillip Webb 提交于
      Fix remaining Java compiler warnings, mainly around missing
      generics or deprecated code.
      
      Also add the `-Werror` compiler option to ensure that any future
      warnings will fail the build.
      
      Issue: SPR-11064
      59002f24
  2. 24 11月, 2013 1 次提交
    • R
      Consolidate websocket/messaging code · 4de3291d
      Rossen Stoyanchev 提交于
      Before this change spring-messaging contained a few WebSocket-related
      classes including WebSocket sub-protocol support for STOMP as well
      as @EnableWebSocketMessageBroker and related configuration classes.
      
      After this change those classes are located in the spring-websocket
      module under org.springframework.web.socket.messaging.
      
      This means the following classes in application configuration must
      have their packages updated:
      
      org.springframework.web.socket.messaging.config.EnableWebSocketMessageBroker
      org.springframework.web.socket.messaging.config.StompEndpointRegistry
      org.springframework.web.socket.messaging.config.WebSocketMessageBrokerConfigurer
      
      MessageBrokerConfigurer has been renamed to MessageBrokerRegistry and
      is also located in the above package.
      4de3291d
  3. 13 11月, 2013 1 次提交
    • R
      Improve logging in spring-messaging · df5d22e1
      Rossen Stoyanchev 提交于
      Before this change the amount of logging was too little or too much
      with TRACE turned on. This change separates useful debugging
      information and logs it under DEBUG and leaves more detailed
      information to be logged under TRACE.
      df5d22e1
  4. 08 11月, 2013 1 次提交
  5. 06 11月, 2013 1 次提交
  6. 31 10月, 2013 2 次提交
  7. 30 10月, 2013 3 次提交
    • R
      Update the Jetty WebSocket adapter · 164a9f93
      Rossen Stoyanchev 提交于
      This changes switches from using Jetty's WebSocketListener interface
      to use Jetty's @WebSocket annotations instead. The change should be
      transparent but the annnotations provide a little more controler
      including handling pong frames.
      
      This change also introduces a WebSocketMessage interface.
      
      Issue: SPR-10877
      164a9f93
    • B
      Upgrade to Jetty 9.1.0 .RC0 · 397d52ad
      Brian Clozel 提交于
      This commit upgrades Jetty to the latest available 9.1.x version while
      also preserving compatibility with 9.0.x.
      397d52ad
    • S
      Polish spring-websocket · 75e61cc9
      Sam Brannen 提交于
      - Removed unused imports
      - Organized imports
      - Deleted unused fields
      - Deleted unused local variables
      - Deleted unused private static classes
      75e61cc9
  8. 29 10月, 2013 2 次提交
    • R
      Update WebSocket extensions change · 81dda069
      Rossen Stoyanchev 提交于
      - add WebSocketHttpHeaders
      - client-side support for WebSocket extensions
      - DefaultHandshakeHandler updates
      - replace use of ServletAttributes in JettyRequestUpgradeStratey
      - upgrade spring-web to jetty 9.0.5
      81dda069
    • B
      Add support for WebSocket Protocol Extensions · 6d00a3f0
      Brian Clozel 提交于
      This commits adds simple, overridable WebSocket Extension
      filtering during the handshake phase and adds that
      information in the WebSocket session.
      
      The actual WebSocket Extension negotiation happens
      within the server implementation (Glassfish, Jetty, Tomcat...),
      so one can only remove requested extensions from
      the list provided by the WebSocket client.
      
      See RFC6455 Section 9.
      
      Issue: SPR-10843
      6d00a3f0
  9. 01 10月, 2013 2 次提交
  10. 30 9月, 2013 1 次提交
  11. 27 9月, 2013 2 次提交
    • M
      Added websocket upgrade support for GlassFish 4.0 · f1e929f3
      Michael Irwin 提交于
      Commit 2397b210 changed websocket
      support to use GlassFish 4.0.1 nightlies, but broke support for 4.0. In
      GlassFish 4.0.1, the package that TyrusEndpoint is located in changed.
      This commit provides an abstract handler that does all required
      GlassFish setup, but delegates to version specific upgrade handlers to
      create the final TyrusEndpoint.
      
      GlassFish 4.0 handler uses reflection to create its endpoint to prevent
      dependency issues of depending on different versions of
      tyrus-websocket-core and tyrus-container-servlet
      f1e929f3
    • R
      Enable cookie_needed by default in SockJS service · 77fa8698
      Rossen Stoyanchev 提交于
      Issue: SPR-10939
      77fa8698
  12. 07 9月, 2013 1 次提交
  13. 04 9月, 2013 1 次提交
  14. 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
  15. 02 9月, 2013 3 次提交
  16. 30 8月, 2013 1 次提交
  17. 29 8月, 2013 3 次提交
  18. 28 8月, 2013 4 次提交
  19. 23 8月, 2013 2 次提交
  20. 22 8月, 2013 6 次提交