1. 09 2月, 2017 7 次提交
  2. 08 2月, 2017 1 次提交
    • R
      Improve writing in mock reactive request and response · f2967467
      Rossen Stoyanchev 提交于
      Before this change the write Publisher was saved and Mono.empty()
      returned from the write metohd which did not properly implement
      the write contract since no writing ("consuming") was done.
      
      This can be a problem in some cases. For example the request may appear
      to succeed even if the publisher produces an error later when
      subscribed to later after request handling completes.
      
      This commit introduces a writeHandler function in the mock request and
      response. By default it "writes" by consuming the content immediately,
      which allows it to return a Mono<Void> that properly reflects when
      writing is done, and it also caches the data so it may be replayed
      later for test assertions.
      
      For streaming scenario a custom writeHandler may be registered which
      allows the custom handling to determine how long to stream before
      cancelling so request handling may complete.
      
      Issue: SPR-14590
      f2967467
  3. 07 2月, 2017 3 次提交
    • A
      Fix compilation of SpEL elvis/ternary expressions · d41d28f8
      Andy Clement 提交于
      Without this fix the compiled version of elvis
      actual behaved differently to the interpreted version
      if the value being queried was an empty string. This
      is now fixed. It also now correctly handles the
      query value being a primitive and addresses the
      findings of SPR-15192 where some type inferencing
      logic was trying to be too clever, that code has
      been deleted.
      
      Issue: SPR-15192
      d41d28f8
    • S
      Polish SseIntegrationTests · fe05d352
      Sebastien Deleuze 提交于
      fe05d352
    • S
      Introduce JSON streaming support · 6b9b0230
      Sebastien Deleuze 提交于
      This commit introduces JSON streaming support which
      consists of serializing HTTP request with
      application/stream+json media type as line delimited JSON.
      
      It also optimize Flux serialization for application/json by
      using flux.collectList() and a single Jackson invocation
      instead of one call per element previous strategy.
      This change result in a x4 throughput improvement
      for collection with a lot of small elements.
      
      Issues: SPR-15095, SPR-15104
      6b9b0230
  4. 06 2月, 2017 5 次提交
  5. 03 2月, 2017 18 次提交
  6. 02 2月, 2017 5 次提交
  7. 01 2月, 2017 1 次提交