- 05 9月, 2018 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit fixes an issue where DataBufferUtils.join() would not release databuffers that preceded an error signal. Issue: SPR-17025
-
- 03 8月, 2018 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-17188
-
由 Rossen Stoyanchev 提交于
-
- 28 6月, 2018 1 次提交
-
-
由 Phillip Webb 提交于
Fix checkstyle violations for javadoc. Issue: SPR-16968
-
- 12 6月, 2018 1 次提交
-
-
由 Juergen Hoeller 提交于
(cherry picked from commit a2765c00)
-
- 09 3月, 2018 1 次提交
-
-
由 igor-suhorukov 提交于
-
- 14 2月, 2018 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 igor-suhorukov 提交于
-
- 02 2月, 2018 1 次提交
-
-
由 Arjen Poutsma 提交于
Issue: SPR-16337
-
- 22 1月, 2018 1 次提交
-
-
由 Arjen Poutsma 提交于
Issue: SPR-16365
-
- 20 1月, 2018 1 次提交
-
-
由 Arjen Poutsma 提交于
Fixed by creating `Callable`-based variants, as explained in the JIRA issue. Issue: SPR-16403
-
- 12 1月, 2018 2 次提交
-
-
由 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
-
由 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
-
- 10 1月, 2018 1 次提交
-
-
由 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
-
- 19 10月, 2017 1 次提交
-
-
由 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
-
- 26 7月, 2017 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit fixes an issue in the DataBufferUtils.write variant that takes a AsynchronousFileChannel. Issue: SPR-15798
-
- 17 7月, 2017 1 次提交
-
-
由 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
-
- 15 7月, 2017 1 次提交
-
-
由 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
-
- 14 7月, 2017 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit adds an overloaded write method to `DataBufferUtils`. There are three parameter variants: `OutputStream`, `WritableByteChannel`, and `AsynchronousFileChannel`. Issue: SPR-15726
-
- 30 6月, 2017 1 次提交
-
-
由 Juergen Hoeller 提交于
This commits extends nullability declarations to the field level, formalizing the interaction between methods and their underlying fields and therefore avoiding any nullability mismatch. Issue: SPR-15720
-
- 07 6月, 2017 1 次提交
-
-
由 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
-
- 12 4月, 2017 1 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-15318
-
- 29 3月, 2017 1 次提交
-
-
由 Sebastien Deleuze 提交于
-
- 21 3月, 2017 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 10 3月, 2017 1 次提交
-
-
由 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.
-
- 09 3月, 2017 1 次提交
-
-
由 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.
-
- 20 9月, 2016 1 次提交
-
-
由 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
-
- 13 9月, 2016 1 次提交
-
-
由 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.
-
- 09 8月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 26 7月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
DataSourceUtils moved to main core.io.buffer package. Consistently named Jackson2JsonDecoder/Encoder and Jaxb2XmlDecoder/Encoder. Plenty of related polishing.
-
- 19 7月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Ensure type-level Javadoc in every class, comply with guidelines for 80 char on Javadoc, and minor polish.
-
- 16 7月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 15 7月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 10 6月, 2016 1 次提交
-
-
由 Arjen Poutsma 提交于
- Added fromIndex parameter to indexOf and lastIndexOf - Moved DataBuffer.tokenize to StringEncoder, as that's the only place it's used.
-
- 09 6月, 2016 1 次提交
-
-
由 Arjen Poutsma 提交于
-
- 27 5月, 2016 2 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
This commit introduces DataBuffer.indexOf(IntPredicate) and lastIndexOf(IntPredicate), for finding the index of a byte in a DataBuffer. It also introduces DataBufferUtils.tokenize, which tokenizes a DataBuffer into separate tokens, given a delimiter function.
-
- 12 5月, 2016 1 次提交
-
-
由 Stephane Maldini 提交于
-
- 04 5月, 2016 1 次提交
-
-
由 Stephane Maldini 提交于
-