| Package | Description | 
|---|---|
| org.springframework.core.codec | |
| org.springframework.core.io.buffer | Generic abstraction for working with byte buffer implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| reactor.core.publisher.Flux<DataBuffer> | ByteArrayEncoder. encode(org.reactivestreams.Publisher<? extends byte[]> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | ByteBufferEncoder. encode(org.reactivestreams.Publisher<? extends ByteBuffer> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | CharSequenceEncoder. encode(org.reactivestreams.Publisher<? extends CharSequence> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | DataBufferEncoder. encode(org.reactivestreams.Publisher<? extends DataBuffer> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | ResourceRegionEncoder. encode(org.reactivestreams.Publisher<? extends ResourceRegion> input,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | Encoder. encode(org.reactivestreams.Publisher<? extends T> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints)Encode a stream of Objects of type  Tinto aDataBufferoutput stream. | 
| reactor.core.publisher.Flux<DataBuffer> | AbstractSingleValueEncoder. encode(org.reactivestreams.Publisher<? extends T> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| protected reactor.core.publisher.Flux<DataBuffer> | ResourceEncoder. encode(Resource resource,
      DataBufferFactory bufferFactory,
      ResolvableType type,
      MimeType mimeType,
      Map<String,Object> hints) | 
| protected abstract reactor.core.publisher.Flux<DataBuffer> | AbstractSingleValueEncoder. encode(T t,
      DataBufferFactory dataBufferFactory,
      ResolvableType type,
      MimeType mimeType,
      Map<String,Object> hints)Encode  Tto an outputDataBufferstream. | 
| DataBuffer | ByteArrayEncoder. encodeValue(byte[] bytes,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | ByteBufferEncoder. encodeValue(ByteBuffer byteBuffer,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | CharSequenceEncoder. encodeValue(CharSequence charSequence,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | DataBufferEncoder. encodeValue(DataBuffer buffer,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| default DataBuffer | Encoder. encodeValue(T value,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints)Encode an Object of type T to a data buffer. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultDataBufferFactoryDefault implementation of the  DataBufferFactoryinterface. | 
| class  | NettyDataBufferFactoryImplementation of the  DataBufferFactoryinterface based on a
 NettyByteBufAllocator. | 
| Modifier and Type | Method and Description | 
|---|---|
| DataBufferFactory | DataBuffer. factory()Return the  DataBufferFactorythat created this buffer. | 
| DataBufferFactory | DataBufferWrapper. factory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. read(Path path,
    DataBufferFactory bufferFactory,
    int bufferSize,
    OpenOption... options)Read bytes from the given file  Pathinto aFluxofDataBuffers. | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. read(Resource resource,
    DataBufferFactory bufferFactory,
    int bufferSize)Read the given  Resourceinto aFluxofDataBuffers. | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. read(Resource resource,
    long position,
    DataBufferFactory bufferFactory,
    int bufferSize)Read the given  Resourceinto aFluxofDataBuffers
 starting at the given position. | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. readAsynchronousFileChannel(Callable<AsynchronousFileChannel> channelSupplier,
                           DataBufferFactory bufferFactory,
                           int bufferSize)Obtain a  AsynchronousFileChannelfrom the given supplier, and read
 it into aFluxofDataBuffers. | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. readAsynchronousFileChannel(Callable<AsynchronousFileChannel> channelSupplier,
                           long position,
                           DataBufferFactory bufferFactory,
                           int bufferSize)Obtain a  AsynchronousFileChannelfrom the given supplier, and
 read it into aFluxofDataBuffers, starting at the given
 position. | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. readByteChannel(Callable<ReadableByteChannel> channelSupplier,
               DataBufferFactory bufferFactory,
               int bufferSize) | 
| static reactor.core.publisher.Flux<DataBuffer> | DataBufferUtils. readInputStream(Callable<InputStream> inputStreamSupplier,
               DataBufferFactory bufferFactory,
               int bufferSize) |