Files
spring-framework/spring-core
Brian Clozel 9a87fa6d12 Add DataBuffers utility class
Prior to this commit, `DataBufferUtils` would implement many utility
static methods for managing and processing `DataBuffer` instances.
`DataBuffer` is tightly linked to the reactive space, but its usage
shoudn't be limited to applications that use `Publisher` extensively.

This commit gathers methods that do not depend on `Publisher` into a new
`DataBuffers` type that `DataBufferUtils` now extend. This allows to use
`DataBuffer` instances in a non-reactive case.

Fixes gh-37353
2026-09-30 15:58:46 +02:00
..
2026-09-30 15:58:46 +02:00