1. 13 11月, 2018 1 次提交
  2. 05 7月, 2018 2 次提交
  3. 30 6月, 2018 1 次提交
  4. 28 6月, 2018 2 次提交
  5. 23 6月, 2018 1 次提交
  6. 11 3月, 2018 1 次提交
  7. 21 11月, 2017 1 次提交
  8. 16 11月, 2017 1 次提交
    • S
      Fix JsonView + HttpEntity Reactive handling · c5307450
      sdeleuze 提交于
      This commit adds
      AbstractMessageReaderArgumentResolver#readBody and
      AbstractMessageWriterResultHandler#writeBody variants
      which allow to pass the actual MethodParameter in order
      to perform proper annotation-based hint resolution with
      nested generics, for example with HttpEntity.
      
      Issue: SPR-16098
      c5307450
  9. 11 11月, 2017 1 次提交
  10. 06 9月, 2017 1 次提交
  11. 04 7月, 2017 1 次提交
  12. 07 6月, 2017 1 次提交
    • J
      Consistent use of @Nullable across the codebase (even for internals) · f813712f
      Juergen Hoeller 提交于
      Beyond just formally declaring the current behavior, this revision actually enforces non-null behavior in selected signatures now, not tolerating null values anymore when not explicitly documented. It also changes some utility methods with historic null-in/null-out tolerance towards enforced non-null return values, making them a proper citizen in non-null assignments.
      
      Some issues are left as to-do: in particular a thorough revision of spring-test, and a few tests with unclear failures (ignored as "TODO: NULLABLE") to be sorted out in a follow-up commit.
      
      Issue: SPR-15540
      f813712f
  13. 06 5月, 2017 1 次提交
  14. 25 3月, 2017 1 次提交
    • R
      Collape ServerHttpMessage[Reader|Writer] · 5414cd0c
      Rossen Stoyanchev 提交于
      This commit folds ServerHttpMessage[Reader|Writer] into its parent
      HttpMessage[Reader|Writer] with the server methods pre-implemented
      by default to be simple pass-through delegates.
      5414cd0c
  15. 21 3月, 2017 1 次提交
    • R
      @EnableWebFlux uses ServerHttpMessage[Reader|Writer] · 54013a09
      Rossen Stoyanchev 提交于
      ServerHttpMessage[Reader|Writer] are now expected for WebFlux,
      annotated controller endpoint and subsequently the instanceof checks
      for HttpMessage[Reader|Writer] vs ServerHttpMessage[Reader|Writer] can
      be removed from AbstractMessageReaderArgumentResolver and
      AbtractMessageWriterResultHandler.
      54013a09
  16. 15 3月, 2017 1 次提交
  17. 14 3月, 2017 1 次提交
  18. 09 2月, 2017 1 次提交
    • B
      Move response status processing in InvocableHandlerMethod · 6f029392
      Brian Clozel 提交于
      Prior to this commit, WebFlux would look at the handler method
      annotations (`@ResponseStatus`) for each handler execution, even calling
      the expensive `synthesizeAnnotation`.
      
      This commit moves this logic to the InvocableHandlerMethod so that this
      executed once at instantiation time and for all result handlers.
      
      Issue: SPR-15227
      6f029392
  19. 02 2月, 2017 1 次提交
  20. 29 11月, 2016 1 次提交
    • R
      Further refactoring of ReactiveAdapter/Registry · 5651c218
      Rossen Stoyanchev 提交于
      Simplify getAdapterFrom/To into a single getAdapter method that looks
      for an exact match by type first and then isAssignableFrom.
      
      Also expose shortcut methods in ReactiveAdapter to minimize the need
      for access to the ReactiveTypeDescriptor.
      
      Issue: SPR-14902
      5651c218
  21. 04 11月, 2016 1 次提交
  22. 03 11月, 2016 1 次提交
    • B
      Support ResponseStatus on reactive controllers · 00069572
      Brian Clozel 提交于
      This commit adds support for `@ResponseStatus` annotations on reactive
      controller methods. `HandlerResultHandler`s implementations now
      set the status on the `ServerWebExchange`, if and only if the
      invocation of the controller method succeeded.
      
      Issue: SPR-14830
      00069572
  23. 20 9月, 2016 1 次提交
    • S
      Make ServerHttpMessageReader/Writer more powerful and flexible · 857e77ee
      Sebastien Deleuze 提交于
      This commit makes it possible, in addition to provide hints, to
      perform additional operations with the request and the response
      at ServerHttpMessageReader/Writer level.
      
      AbstractServerHttpMessageReader/Writer now provide
      convenient beforeRead/beforeWrite abstract methods for such need.
      
      Issue: SPR-14557
      857e77ee
  24. 16 9月, 2016 1 次提交
  25. 12 9月, 2016 1 次提交
  26. 28 7月, 2016 2 次提交
  27. 23 7月, 2016 2 次提交
  28. 19 7月, 2016 1 次提交
  29. 15 7月, 2016 1 次提交
  30. 04 7月, 2016 1 次提交
    • R
      Provide rich type information to ConversionService · 8c765814
      Rossen Stoyanchev 提交于
      When using the ConversionService to check and bridge to and from
      reactive types we now generallly provide the full type information
      available from method signatures. However that full type information
      is not always necessary such as when we perform additional checks on
      the generics of the reactive type (e.g. Mono<ResponseEntity>).
      
      This allows us to switch to use DefaultFormattingConversionService
      instead of GenericConversionService while also ensuring that the
      CollectionToObjectConverter doesn't think it can convert List<?> to
      any reactive type.
      
      The ObjectToObjectConverter can also interfere because it is smart
      enough to find the "from(Publisher<?>)" method on Flux and Mono.
      To make up for that on the response side we now check if a type
      is assignable to Publisher first in which case it is a simple cast.
      
      In turn that means we don't need a PublisherToFluxConverter which can
      be problematic in its own right because it can convert from Mono to
      Flux which technically doesn't lose data but switches stream semantics.
      
      Issue: #124, #128
      8c765814
  31. 02 7月, 2016 1 次提交
  32. 25 6月, 2016 1 次提交
    • R
      Refactor @ResponseBody and ResponseEntity tests · cae88001
      Rossen Stoyanchev 提交于
      Introduce separate test classes for each base class in the hierarchy
      above @ResponseBody and ResponseEntity result handlers.
      
      Also start porting existing unit test cases for @ResponseBody and
      ResponseEntity return value handlers.
      cae88001
  33. 22 6月, 2016 1 次提交
  34. 07 6月, 2016 1 次提交
  35. 06 6月, 2016 1 次提交
  36. 01 6月, 2016 1 次提交