1. 19 11月, 2019 4 次提交
    • A
      Add test for usage of bodyToMono in WebClient.ResponseSpec::onStatus · 9f7dd9f3
      Arjen Poutsma 提交于
      See gh-23365
      9f7dd9f3
    • 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
    • S
      Polishing · f0b2f718
      Sam Brannen 提交于
      f0b2f718
    • R
      Use method signature to refine RSocket @MessageMapping · 842b424a
      Rossen Stoyanchev 提交于
      Before this change an @MessageMapping could be matched to any RSocket
      interaction type, which is arguably too flexible, makes it difficult to
      reason what would happen in case of a significant mismatch of
      cardinality, e.g. request for Fire-And-Forget (1-to-0) mapped to a
      method that returns Flux, and could result in payloads being ignored,
      or not seen unintentionally.
      
      This commit checks @ConnectMapping method on startup and rejects them
      if they return any values (sync or async). It also refines each
      @MessageMapping to match only the RSocket interaction type it fits
      based on the input and output cardinality of the handler method.
      Subsequently if a request is not matched, we'll do a second search to
      identify partial matches (by route only) and raise a helpful error that
      explains which interaction type is actually supported.
      
      The reference docs has been updated to explain the options.
      
      Closes gh-23999
      842b424a
  2. 18 11月, 2019 1 次提交
  3. 17 11月, 2019 1 次提交
  4. 15 11月, 2019 8 次提交
  5. 14 11月, 2019 13 次提交
  6. 13 11月, 2019 13 次提交