1. 30 6月, 2016 2 次提交
    • R
      Refactor handleNoMatch for @RequestMapping · 89396ff0
      Rossen Stoyanchev 提交于
      Originally handleNoMatch looked for partial matches based on URL
      pattern, HTTP method, consumes, produces, and params in that order
      but without narrowing down the set of partial matches resulting in
      potentially inaccruate response status codes
      
      Commit 473de0 added an improvement to narrow the set with partial
      matches for URL pattern and HTTP method matches.
      
      This commit overhauls handleNoMatch so that the narrowing down of
      matches happens at each stage resulting in more accurate error
      reporting for request mappings with fine-grained conditions.
      
      Issue: SPR-14397
      89396ff0
    • S
      Better hide lazy resolution of JMS payloads · eba87306
      Stephane Nicoll 提交于
      This commit fixes MessagingMessageConverter to no longer expose the lazy
      message resolution algorithm. This restores proper behaviour for
      converters used outside of that context.
      
      Instead, such arrangement is now private to
      AbstractAdaptableMessageListener (as it should).
      
      Issue: SPR-14389
      eba87306
  2. 29 6月, 2016 8 次提交
  3. 28 6月, 2016 8 次提交
  4. 27 6月, 2016 3 次提交
  5. 26 6月, 2016 2 次提交
  6. 24 6月, 2016 3 次提交
  7. 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
  8. 22 6月, 2016 5 次提交
  9. 21 6月, 2016 2 次提交
  10. 20 6月, 2016 2 次提交