1. 26 6月, 2016 2 次提交
  2. 24 6月, 2016 3 次提交
  3. 23 6月, 2016 5 次提交
    • J
      f5282bc1
    • B
      Improve exception logging in HandlerExceptionResolvers · 0345d734
      Brian Clozel 提交于
      This commit updates AbstractHandlerExceptionResolver to only log at the
      WARN level exceptions that are actually resolved by the
      ExceptionResolver.
      
      In case developers wish to log each time an ExceptionResolver is called,
      a DEBUG level log is still available.
      
      Issue: SPR-14392
      0345d734
    • S
      Implement equals() & hashCode() in MockServerContainerContextCustomizer · 3dbf25e0
      Sam Brannen 提交于
      Issue: SPR-14367
      3dbf25e0
    • S
      Support WebSocket ServletServerContainerFB in the TCF · f7dd7575
      Sam Brannen 提交于
      Prior to this commit, any attempt to include a bean of type
      ServletServerContainerFactoryBean in the WebApplicationContext for an
      integration test class annotated with @WebAppConfiguration in
      conjunction the Spring TestContext Framework (TCF) would have resulted
      in an IllegalStateException stating that "A ServletContext is required
      to access the javax.websocket.server.ServerContainer instance."
      
      In such scenarios, the MockServletContext was in fact present in the
      WebApplicationContext; however there was no WebSocket ServerContainer
      stored in the ServletContext.
      
      This commit addresses this issue by introducing the following.
      
      - MockServerContainer: a private mock implementation of the
        javax.websocket.server.ServerContainer interface.
      
      - MockServerContainerContextCustomizer: a ContextCustomizer that
        instantiates a new MockServerContainer and stores it in the
        ServletContext under the attribute named
        "javax.websocket.server.ServerContainer".
      
      - MockServerContainerContextCustomizerFactory: a
        ContextCustomizerFactory which creates a
        MockServerContainerContextCustomizer if WebSocket support is present
        in the classpath and the test class is annotated with
        @WebAppConfiguration. This factory is registered by default via the
        spring.factories mechanism.
      
      Issue: SPR-14367
      f7dd7575
    • S
      Polish error messages in ServletServerContainerFactoryBean · 7f16bdaf
      Sam Brannen 提交于
      Issue: SPR-14367
      7f16bdaf
  4. 22 6月, 2016 5 次提交
  5. 21 6月, 2016 2 次提交
  6. 20 6月, 2016 4 次提交
  7. 18 6月, 2016 2 次提交
    • R
      Add heartbeat lock to SockJS server sessions · ba885f3d
      Rossen Stoyanchev 提交于
      Even before this change SockJS sessions always cancelled the heartbeat
      task first prior to sending messages. However when the heartbeat task
      is already in progress, cancellation of it is not enough and we must
      wait until the heartbeat is sent.
      
      This commit adds a heartbeat write lock which is obtained and held
      during the sending of a heartbeat. Now when sessions send a message
      they still cancel the heartbeat task but if that fails they also wait
      for the heartbeat write lock.
      
      Issue: SPR-14356
      ba885f3d
    • R
      ForwardedHeaderFilter is case-insensitive · 919f6c96
      Rossen Stoyanchev 提交于
      Issue: SPR-14372
      919f6c96
  8. 17 6月, 2016 3 次提交
  9. 16 6月, 2016 4 次提交
  10. 15 6月, 2016 6 次提交
  11. 11 6月, 2016 1 次提交
  12. 10 6月, 2016 3 次提交