1. 05 9月, 2018 1 次提交
  2. 03 8月, 2018 2 次提交
  3. 28 6月, 2018 1 次提交
  4. 12 6月, 2018 1 次提交
  5. 09 3月, 2018 1 次提交
  6. 14 2月, 2018 2 次提交
  7. 02 2月, 2018 1 次提交
  8. 22 1月, 2018 1 次提交
  9. 20 1月, 2018 1 次提交
  10. 12 1月, 2018 2 次提交
    • A
      Use DataBufferUtils.compose and remove writeAggregator · 67e7c784
      Arjen Poutsma 提交于
      Use DataBufferUtils.compose instead of writeAggregator to combine
      multiple data buffers into one, as the write aggregator would not work
      when the initial data buffer did not have enough capacity to contain
      all subsequent buffers.
      
      Removed writeAggregator, as it is no longer needed.
      
      Issue: SPR-16365
      67e7c784
    • A
      Add DataBufferUtils.compose · 384a399f
      Arjen Poutsma 提交于
      Added a utility method that composes data buffers into a single buffer.
      Depending on the `DataBuffer` implementation, the returned buffer may be
      a single buffer containing all data of the provided buffers, or it may
      be a true composite that contains references to the buffers.
      
      Issue: SPR-16365
      384a399f
  11. 10 1月, 2018 1 次提交
    • A
      Introduce write aggregator to DataBufferUtils · 69ccba30
      Arjen Poutsma 提交于
      As a consequence of dropping CompositeByteBuf (see prior commit),
      DataBuffers fluxes that are aggregated with Flux.reduce(BiFunction) are
      now required to be released, as the composite no longer holds a
      reference to subsequent data buffers.
      
      For this purpose, DataBufferUtils now has a writeAggregator that can be
      used with Flux.reduce, and that released the subsequent buffers
      properly.
      
      Issue: SPR-16351
      69ccba30
  12. 19 10月, 2017 1 次提交
    • A
      Various DataBuffer improvements · c7a15260
      Arjen Poutsma 提交于
      This commit introduces various improvements in DataBuffer:
      
      - DataBuffer now exposes its read and write position, as well as its
      capacity and writable byte count.
      - Added DataBuffer.asByteBuffer(int, int)
      - DataBufferUtils.read now reads directly into a DataBuffer, rather than
      copying a ByteBuffer into a DataBuffer
      - TomcatHttpHandler now reads directly into a DataBuffer
      
      Issues: SPR-16068 SPR-16070
      c7a15260
  13. 26 7月, 2017 1 次提交
  14. 17 7月, 2017 1 次提交
    • R
      Methods for reading a Resource in DataBufferUtils · d56fedc2
      Rossen Stoyanchev 提交于
      Currently ResourceEncoder and ResourceRegionEncoder use DataBufferUtils
      to read resource with an AsynchronousFileChannel if it is a file or
      otherwise fallback on getting the channel from the resource.
      
      The same is now required in other places where a Resource needs to be
      read and is also generally useful.
      
      Issue: SPR-15773
      d56fedc2
  15. 15 7月, 2017 1 次提交
    • A
      Change write methods to return Flux<DataBuffer> · c802827f
      Arjen Poutsma 提交于
      This commit changes the write methods to return `Flux<DataBuffer>`
      instead of `Mono<Void>`, giving access to the original buffers,
      so that they can decided whether the buffers need to be closed or not.
      
      Issue: SPR-15726
      c802827f
  16. 14 7月, 2017 1 次提交
    • A
      Add write methods to DataBufferUtils · 83051b06
      Arjen Poutsma 提交于
      This commit adds an overloaded write method to `DataBufferUtils`. There
      are three parameter variants: `OutputStream`, `WritableByteChannel`, and
      `AsynchronousFileChannel`.
      
      Issue: SPR-15726
      83051b06
  17. 30 6月, 2017 1 次提交
  18. 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
  19. 12 4月, 2017 1 次提交
  20. 29 3月, 2017 1 次提交
  21. 21 3月, 2017 1 次提交
  22. 10 3月, 2017 1 次提交
    • B
      Update to Reactor Aluminium SNAPSHOT · b7990135
      Brian Clozel 提交于
      Currently the BOM versions are:
      
      * reactor-core 3.0.6.BUILD-SNAPSHOT
      * reactor-netty 0.6.2.BUILD-SNAPSHOT
      
      This commit fixes as well a few deprecations in reactor-core.
      b7990135
  23. 09 3月, 2017 1 次提交
    • 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
  24. 20 9月, 2016 1 次提交
    • B
      Add ResourceRegionEncoder · 55d6f88d
      Brian Clozel 提交于
      This commit adds the necessary infrastructure for the support of HTTP
      Range requests. The new `ResourceRegionEncoder` can write
      `ResourceRegion` objects as streams of bytes.
      
      The `ResourceRegionEncoder` relies on an encoding hint
      `BOUNDARY_STRING_HINT`. If present, the encoder infers that multiple
      `ResourceRegion`s should be encoded and that the provided boundary
      String should be used to separate ranges by mime boundaries.
      If that hint is absent, only a single resource region is encoded.
      
      Issue: SPR-14664
      55d6f88d
  25. 13 9月, 2016 1 次提交
    • A
      Fixed bug in reading Flux from Channel · d8f4d376
      Arjen Poutsma 提交于
      Fixed bug where the returned Flux from DataBufferUtils.read() would be
      completed prematurely if the channel was not ready to read, but did
      not reach the end of the file either.
      d8f4d376
  26. 09 8月, 2016 1 次提交
  27. 26 7月, 2016 1 次提交
  28. 19 7月, 2016 1 次提交
  29. 16 7月, 2016 1 次提交
  30. 15 7月, 2016 2 次提交
  31. 10 6月, 2016 1 次提交
    • A
      Various DataBuffer improvements · ea21643a
      Arjen Poutsma 提交于
      - Added fromIndex parameter to indexOf and lastIndexOf
      - Moved DataBuffer.tokenize to StringEncoder, as that's the only place
        it's used.
      ea21643a
  32. 09 6月, 2016 1 次提交
  33. 27 5月, 2016 2 次提交
  34. 12 5月, 2016 1 次提交
  35. 04 5月, 2016 1 次提交