spring-framework / org.springframework.web.reactive.function / BodyExtractors / toDataBuffers

toDataBuffers

open static fun toDataBuffers(): BodyExtractor<Flux<DataBuffer>, ReactiveHttpInputMessage>

Return a BodyExtractor that returns the body of the message as a Flux of DataBuffers.

Note that the returned buffers should be released after usage by calling org.springframework.core.io.buffer.DataBufferUtils#release(DataBuffer)

Return
a BodyExtractor that returns the body

See Also
ReactiveHttpInputMessage#getBody()