1. 21 2月, 2017 1 次提交
  2. 20 2月, 2017 3 次提交
  3. 17 2月, 2017 3 次提交
  4. 16 2月, 2017 2 次提交
  5. 15 2月, 2017 2 次提交
  6. 14 2月, 2017 4 次提交
  7. 13 2月, 2017 5 次提交
  8. 11 2月, 2017 2 次提交
  9. 10 2月, 2017 3 次提交
  10. 09 2月, 2017 8 次提交
    • A
      Ignore JsonStreamingIntegrationTests · 11efbaea
      Arjen Poutsma 提交于
      Ignoring JsonStreamingIntegrationTests for now, @sdeleuze is aware of the need to fix.
      11efbaea
    • B
      Refactor HandlerMapping path match configuration · 09d18f2e
      Brian Clozel 提交于
      Since the introduction of `PathPatternRegistry`, the various path match
      configuration flags are no longer needed in several places and that
      configuration can live in the registry itself.
      
      Issue: SPR-14544
      09d18f2e
    • A
      Added ClientResponse.cookies() · da4af615
      Arjen Poutsma 提交于
      Added cookies() method on ClientResponse, that exposes the response
      cookies.
      
      Issue: SPR-15236
      da4af615
    • A
      Introduce EntityResponse · 2a512d7b
      Arjen Poutsma 提交于
      This commit introduces the EntityResponse, an entity-specific subtype of
      ServerResponse that exposes the entity itself.
      2a512d7b
    • B
      Add PathPatternRegistry · 18c04815
      Brian Clozel 提交于
      This commit adds the new `PathPatternRegistry`, which  holds a
      sorted set of `PathPattern`s and allows for searching/adding patterns
      
      This registry is being used in `HandlerMapping` implementations and
      separates path pattern parsing/matching logic from the rest. Directly
      using `PathPattern` instances should improve the performance of those
      `HandlerMapping` implementations, since the parsing and generation of
      pattern variants (trailing slash, suffix patterns, etc) is done only
      once.
      
      Issue: SPR-14544
      18c04815
    • A
      Introduce PathPatternParser for optimized path matching · f58ffad9
      Andy Clement 提交于
      This commit introduces a PathPatternParser which parses request pattern
      strings into PathPattern objects which can then be used to fast
      match incoming string paths. The parser and matching supports the syntax
      as described in SPR-14544. The code is optimized around the common usages
      of request patterns and is designed to create very little transient
      garbage when matching.
      
      Issue: SPR-14544
      f58ffad9
    • 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
    • R
      9efa976d
  11. 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
  12. 07 2月, 2017 2 次提交
    • 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
  13. 03 2月, 2017 4 次提交