1. 17 3月, 2017 2 次提交
  2. 16 3月, 2017 10 次提交
  3. 15 3月, 2017 2 次提交
  4. 14 3月, 2017 10 次提交
  5. 13 3月, 2017 1 次提交
  6. 11 3月, 2017 4 次提交
  7. 10 3月, 2017 4 次提交
  8. 09 3月, 2017 6 次提交
    • A
      Add DataBufferUtils.read w/ AsynchFileChannel · 63118c1e
      Arjen Poutsma 提交于
      This commit adds an overloaded DataBufferUtils.read method that operates
      on a AsynchronousFileChannel (as opposed to a ReadableByteChannel, which
      already existed). This commit also uses said method in the Resource
      encoders, if the Resource is a file.
      63118c1e
    • S
      e4b1a953
    • R
      SSE reader support to read full content as a String · a1c24d21
      Rossen Stoyanchev 提交于
      The SSE reader is ordered ahead of StringDecoder because with
      response.decodeToFlux(String.class) we actually want the SSE reader
      to get involved first based on the content-type.
      
      At the same time with response.decodeToMono(String.class) there is
      nothing the SSE reader can do while the StringDecoder could read the
      entore content as one String, as long as the server does terminate
      the stream which can happen in a testing scenario.
      
      This commit updates ServerSentEventHttpMessageReader#readMono in
      to support String.class by delegating to StringDecoder. Since
      reading to a Mono is an explicit choice there is not much possibility
      for interfering with decoding to Flux.
      
      Issue: SPR-15331
      a1c24d21
    • R
      Refactor use of DataBufferFactory in SSE reader · 8c36d3c4
      Rossen Stoyanchev 提交于
      This commit simplifies the use of DataBufferFactory in the SSE reader
      which is used only to wrap a byte[] as a DataBuffer. There is no actual
      benefit to use anything other than a DefaultDataBufferFactory.
      8c36d3c4
    • R
      Polish ServerSentEventHttpMessageReader · 9aa25c39
      Rossen Stoyanchev 提交于
      9aa25c39
    • R
      Polish default config for ExchangeStrategies · d57d3efc
      Rossen Stoyanchev 提交于
      Add default readers and writers from separate methods instead of
      having them interleaved which is hard to read and easy to miss.
      
      Issue: SPR-15331
      d57d3efc
  9. 08 3月, 2017 1 次提交