1. 03 4月, 2017 3 次提交
    • R
      Spring MVC supports reactive return values · 62c1e44d
      Rossen Stoyanchev 提交于
      This commit adds support for reactive library types to be returned
      directly from controller methods adapting them either to a
      ResponseBodyEmitter (streaming) or DeferredResult (non-streaming).
      
      The reactive libraries supported are the ones that can adapted to a
      Reactive Streams Publisher through the ReactiveAdapterRegistry.
      
      Issue: SPR-15365
      62c1e44d
    • R
      Async return values refactoring in Spring MVC · ae1ed16c
      Rossen Stoyanchev 提交于
      Revise Javadoc on AsyncHandlerMethodReturnValueHandler to clarify its
      main purpose is to prioritze custom async return value handlers ahead
      of built-in ones. Also replace the interface from built-in handlers
      which are prioritized already.
      
      Remove DeferredResultAdapter and ResponseBodyEmitterAdapter --
      introduced in 4.3 for custom async return value handling, since for
      5.0 we will add built-in support for reactive types and the value of
      these contracts becomes very marginal.
      
      Issue: SPR-15365
      ae1ed16c
    • S
      Add WebClient.ResponseSpec Kotlin extensions · cfc89ebe
      Sebastien Deleuze 提交于
      cfc89ebe
  2. 02 4月, 2017 3 次提交
  3. 31 3月, 2017 2 次提交
    • S
      Resolve async model attributes in AbstractView · 73b44828
      Sebastien Deleuze 提交于
      This change allows the functional WebFlux API to support natively
      reactive types and also makes it possible for View implementations to
      disable async attributes resolution if they want for example take
      advantage of stream rendering.
      
      It also makes AbstractView#getModelAttributes() asynchronous.
      
      Issue: SPR-15368
      73b44828
    • R
      Add ResponseSpec to WebClient · 840d7abb
      Rossen Stoyanchev 提交于
      Replace the overloaded "retrieve" methods with a single retrieve() +
      ResponseSpec exposing shortcut methods (bodyToMono, bodyToFlux)
      mirroring the ClientResponse shortcuts it delegates to.
      
      Unlike exchange() however with retrieve() there is no access to other
      parts of ClientResponse so ResponseSpec exposes additional shortcuts
      for obtain ResponseEntity<T> or ResponseEntity<List<T>>.
      
      Issue: SPR-15294
      840d7abb
  4. 30 3月, 2017 8 次提交
  5. 29 3月, 2017 10 次提交
  6. 28 3月, 2017 6 次提交
  7. 27 3月, 2017 8 次提交