类 DataBufferDecoder

  • 所有已实现的接口:
    Decoder<DataBuffer>

    public class DataBufferDecoder
    extends AbstractDataBufferDecoder<DataBuffer>
    Simple pass-through decoder for DataBuffers.

    Note: The data buffers should be released via DataBufferUtils.release(DataBuffer) after they have been consumed. In addition, if using Flux or Mono operators such as flatMap, reduce, and others that prefetch, cache, and skip or filter out data items internally, please add doOnDiscard(PooledDataBuffer.class, DataBufferUtils::release) to the composition chain to ensure cached data buffers are released prior to an error or cancellation signal.

    从以下版本开始:
    5.0
    作者:
    Arjen Poutsma, Rossen Stoyanchev