1. 19 11月, 2019 1 次提交
    • S
      Support scoped @ControllerAdvice beans again · 3a39b7fe
      Sam Brannen 提交于
      Spring Framework 5.2 introduced support for implementing the Ordered
      interface in a @ControllerAdvice bean. This support requires that
      @ControllerAdvice beans be eagerly resolved from the BeanFactory in
      order to invoke the getOrder() method defined in the Ordered interface.
      Unfortunately doing so resulted in a regression in that an attempt to
      eagerly resolve a scoped @ControllerAdvice bean throws a
      BeanCreationException due to the lack of an active scope (e.g., request
      or session scope).
      
      This commit fixes this regression by avoiding eager resolution of scoped
      @ControllerAdvice beans. As a direct consequence, the Ordered interface
      is not supported for scoped @ControllerAdvice beans.
      
      Closes gh-23985
      3a39b7fe
  2. 13 11月, 2019 2 次提交
  3. 11 11月, 2019 2 次提交
  4. 08 11月, 2019 2 次提交
  5. 06 11月, 2019 1 次提交
  6. 30 10月, 2019 2 次提交
  7. 25 10月, 2019 2 次提交
  8. 24 10月, 2019 1 次提交
  9. 23 10月, 2019 3 次提交
  10. 27 9月, 2019 1 次提交
  11. 26 9月, 2019 1 次提交
  12. 24 9月, 2019 1 次提交
    • R
      Refine disconnected client handling in WebFlux · 4edc7196
      Rossen Stoyanchev 提交于
      If an error looks like a "disconnected client" but the response is not
      yet committed then it can't be an I/O error from writing to the server
      response. It is most likely as a result of a remote call as part of
      request handling.
      
      Not setting the response to 500 in this case results in a 200 response
      status despite the error. Even if it was an I/O error from the server
      response, setting the status won't impact a failed response.
      
      Closes gh-23319
      4edc7196
  13. 16 9月, 2019 2 次提交
  14. 12 9月, 2019 1 次提交
  15. 05 9月, 2019 1 次提交
  16. 28 8月, 2019 1 次提交
  17. 23 8月, 2019 1 次提交
  18. 21 8月, 2019 1 次提交
  19. 17 8月, 2019 1 次提交
  20. 01 8月, 2019 3 次提交
  21. 30 7月, 2019 2 次提交
  22. 22 7月, 2019 1 次提交
    • R
      Improve separator support in PathContainer · 358a6d6f
      Rossen Stoyanchev 提交于
      To make the switching of separators complete, it is also important to
      know whether the decoding of path segment values and the parsing of
      path param should be done as those are applied transparently.
      
      This commit replaces the recently added separator argument to
      PathContainer.parsePath with an Options type with two predefined
      constants. One for HTTP URLs with automatic decoding and parsing of
      path params, and another for "." separated message routes without
      decoding except for encoded sequences of the separator itself.
      
      See gh-23310
      358a6d6f
  23. 19 7月, 2019 3 次提交
  24. 18 7月, 2019 1 次提交
  25. 15 7月, 2019 1 次提交
    • R
      Filtering for nested ERROR dispatch · 99c4a9ee
      Rossen Stoyanchev 提交于
      OncePerRequestFilter now has a doFilter method that allows separate
      processing of nested ERROR dispatches. This is useful for filters
      that wrap the request and response.
      
      Closes gh-23196
      99c4a9ee
  26. 11 7月, 2019 1 次提交
  27. 10 7月, 2019 1 次提交