Uses of Interface
org.springframework.core.io.buffer.DataBuffer
Packages that use DataBuffer
Package
Description
Generic abstraction for working with byte buffer implementations.
Contains a basic abstraction over client/server-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector.CBOR encoder and decoder support.
JSON encoder and decoder support.
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
XML encoder and decoder support.
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing.Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Support for the RSocket protocol.
Support classes for working with annotated RSocket stream handling methods.
Mock implementations of reactive HTTP client contracts.
Mock implementations of reactive HTTP server contracts.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer.Provides the types that make up Spring's functional web framework for Reactive environments.
Abstractions and support classes for reactive WebSocket interactions.
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
-
Uses of DataBuffer in org.springframework.core.codec
Subclasses with type arguments of type DataBuffer in org.springframework.core.codecModifier and TypeClassDescriptionclassSimple pass-through decoder forDataBuffers.classSimple pass-through encoder forDataBuffers.Methods in org.springframework.core.codec that return DataBufferModifier and TypeMethodDescriptionDataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Encode an Object of type T to a data buffer.NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.core.codec that return types with arguments of type DataBufferModifier and TypeMethodDescriptionDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) final Flux<DataBuffer> AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected abstract Flux<DataBuffer> AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) EncodeTto an outputDataBufferstream.ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.core.codec with parameters of type DataBufferModifier and TypeMethodDescriptionfinal TAbstractCharSequenceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decoder.decode(DataBuffer buffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode a data buffer to an Object of type T.io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated.protected abstract TAbstractCharSequenceDecoder.decodeInternal(DataBuffer dataBuffer, Charset charset) Template method that decodes the given data buffer intoT, given the charset.protected CharBufferCharBufferDecoder.decodeInternal(DataBuffer dataBuffer, Charset charset) protected StringStringDecoder.decodeInternal(DataBuffer dataBuffer, Charset charset) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) static voidHints.touchDataBuffer(DataBuffer buffer, @Nullable Map<String, Object> hints, org.apache.commons.logging.Log logger) If the hints contain aHints.LOG_PREFIX_HINTand the given logger has DEBUG level enabled, apply the log prefix as a hint to the given buffer viaDataBufferUtils.touch(DataBuffer, Object).Method parameters in org.springframework.core.codec with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractCharSequenceDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) -
Uses of DataBuffer in org.springframework.core.io.buffer
Subinterfaces of DataBuffer in org.springframework.core.io.bufferModifier and TypeInterfaceDescriptioninterfaceExtension ofDataBufferthat allows for buffers that can be used in atry-with-resources statement.interfaceExtension ofDataBufferthat allows for buffers that share a memory pool.interfaceExtension ofDataBufferthat allows for buffers that can be given hints for debugging purposes.Classes in org.springframework.core.io.buffer that implement DataBufferModifier and TypeClassDescriptionclassProvides a convenient implementation of theDataBufferinterface that can be overridden to adapt the delegate.classDefault implementation of theDataBufferinterface that uses aByteBufferinternally.final classImplementation of theDataBufferinterface that can wrap a JettyContent.Chunk.classImplementation of theDataBufferinterface that wraps a Netty 4ByteBuf.Subclasses with type arguments of type DataBuffer in org.springframework.core.io.bufferModifier and TypeClassDescriptionclassCustomListto collect data buffers with and enforce a limit on the total number of bytes buffered.Methods in org.springframework.core.io.buffer with type parameters of type DataBufferModifier and TypeMethodDescriptionstatic <T extends DataBuffer>
TDataBufferUtils.retain(T dataBuffer) Retain the given data buffer, if it is aPooledDataBuffer.static <T extends DataBuffer>
Flux<T> DataBufferUtils.skipUntilByteCount(Publisher<T> publisher, long maxByteCount) Skip buffers from the givenPublisheruntil the total byte count reaches the given maximum byte count, or until the publisher is complete.static <T extends DataBuffer>
InputStreamDataBufferUtils.subscriberInputStream(Publisher<T> publisher, int demand) Subscribe to givenPublisherofDataBuffers, and return anInputStreamto consume the byte content with.static <T extends DataBuffer>
Flux<T> DataBufferUtils.takeUntilByteCount(Publisher<T> publisher, long maxByteCount) Relay buffers from the givenPublisheruntil the total byte count reaches the given maximum byte count, or until the publisher is complete.static <T extends DataBuffer>
TAssociate the given hint with the data buffer if it is a pooled buffer and supports leak tracking.Methods in org.springframework.core.io.buffer that return DataBufferModifier and TypeMethodDescriptionDataBufferFactory.allocateBuffer()Deprecated.as of 6.0, in favor ofDataBufferFactory.allocateBuffer(int)DataBufferFactory.allocateBuffer(int initialCapacity) Allocate a data buffer of the given initial capacity.DataBuffer.capacity(int capacity) Deprecated.as of 6.0, in favor ofDataBuffer.ensureWritable(int)which has different semanticsDataBufferWrapper.capacity(int capacity) Deprecated.DefaultDataBuffer.capacity(int capacity) Deprecated.JettyDataBuffer.capacity(int capacity) Deprecated.DataBufferWrapper.dataBuffer()Return the wrapped delegate.default DataBufferDataBuffer.ensureCapacity(int capacity) Deprecated.since 6.0, in favor ofDataBuffer.ensureWritable(int)DataBufferWrapper.ensureCapacity(int capacity) Deprecated.DataBuffer.ensureWritable(int capacity) Ensure that the current buffer has enoughDataBuffer.writableByteCount()to write the amount of data given as an argument.DataBufferWrapper.ensureWritable(int capacity) DefaultDataBuffer.ensureWritable(int length) JettyDataBuffer.ensureWritable(int capacity) NettyDataBuffer.ensureWritable(int capacity) DataBufferFactory.join(List<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of thedataBufferselements joined together.NettyDataBufferFactory.join(List<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of thedataBufferselements joined together.DataBuffer.read(byte[] destination) Read this buffer's data into the specified destination, starting at the current reading position of this buffer.DataBuffer.read(byte[] destination, int offset, int length) Read at mostlengthbytes of this buffer into the specified destination, starting at the current reading position of this buffer.DataBufferWrapper.read(byte[] destination) DataBufferWrapper.read(byte[] destination, int offset, int length) JettyDataBuffer.read(byte[] destination) JettyDataBuffer.read(byte[] destination, int offset, int length) DataBuffer.readPosition(int readPosition) Set the position from which this buffer will read.DataBufferWrapper.readPosition(int readPosition) JettyDataBuffer.readPosition(int readPosition) LimitedDataBufferList.remove(int index) default DataBufferDataBuffer.retainedSlice(int index, int length) Deprecated.as of 6.0, in favor ofDataBuffer.split(int)which has different semanticsDataBufferWrapper.retainedSlice(int index, int length) Deprecated.LimitedDataBufferList.set(int index, DataBuffer element) DataBuffer.slice(int index, int length) Deprecated.as of 6.0, in favor ofDataBuffer.split(int)which has different semanticsDataBufferWrapper.slice(int index, int length) Deprecated.JettyDataBuffer.slice(int index, int length) Deprecated.DataBuffer.split(int index) Splits this data buffer into two at the given index.DataBufferWrapper.split(int index) JettyDataBuffer.split(int index) DataBufferFactory.wrap(byte[] bytes) Wrap the givenbytearray in aDataBuffer.DataBufferFactory.wrap(ByteBuffer byteBuffer) Wrap the givenByteBufferin aDataBuffer.NettyDataBufferFactory.wrap(byte[] bytes) DataBuffer.write(byte b) Write a single byte into this buffer at the current writing position.DataBuffer.write(byte[] source) Write the given source into this buffer, starting at the current writing position of this buffer.DataBuffer.write(byte[] source, int offset, int length) Write at mostlengthbytes of the given source into this buffer, starting at the current writing position of this buffer.default DataBufferDataBuffer.write(CharSequence charSequence, Charset charset) Write the givenCharSequenceusing the givenCharset, starting at the current writing position.DataBuffer.write(ByteBuffer... buffers) Write one or moreByteBufferto this buffer, starting at the current writing position.DataBuffer.write(DataBuffer... buffers) Write one or moreDataBuffers to this buffer, starting at the current writing position.DataBufferWrapper.write(byte b) DataBufferWrapper.write(byte[] source) DataBufferWrapper.write(byte[] source, int offset, int length) DataBufferWrapper.write(CharSequence charSequence, Charset charset) DataBufferWrapper.write(ByteBuffer... buffers) DataBufferWrapper.write(DataBuffer... buffers) JettyDataBuffer.write(byte b) JettyDataBuffer.write(byte[] source) JettyDataBuffer.write(byte[] source, int offset, int length) JettyDataBuffer.write(ByteBuffer... buffers) JettyDataBuffer.write(DataBuffer... buffers) NettyDataBuffer.write(CharSequence charSequence, Charset charset) DataBuffer.writePosition(int writePosition) Set the position to which this buffer will write.DataBufferWrapper.writePosition(int writePosition) JettyDataBuffer.writePosition(int writePosition) Methods in org.springframework.core.io.buffer that return types with arguments of type DataBufferModifier and TypeMethodDescriptionstatic Mono<DataBuffer> DataBufferUtils.join(Publisher<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of joining together the givendataBufferselements.static Mono<DataBuffer> DataBufferUtils.join(Publisher<? extends DataBuffer> buffers, int maxByteCount) Variant ofDataBufferUtils.join(Publisher)that behaves the same way up until the specified max number of bytes to buffer.static Publisher<DataBuffer> DataBufferUtils.outputStreamPublisher(Consumer<OutputStream> consumer, DataBufferFactory bufferFactory, Executor executor) Create a newPublisher<DataBuffer>based on bytes written to aOutputStream.static Publisher<DataBuffer> DataBufferUtils.outputStreamPublisher(Consumer<OutputStream> consumer, DataBufferFactory bufferFactory, Executor executor, int chunkSize) Variant ofDataBufferUtils.outputStreamPublisher(Consumer, DataBufferFactory, Executor)providing control over the chunk sizes to be produced by the publisher.static Flux<DataBuffer> DataBufferUtils.read(Path path, DataBufferFactory bufferFactory, int bufferSize, OpenOption... options) Read bytes from the given filePathinto aFluxofDataBuffers.static Flux<DataBuffer> DataBufferUtils.read(Resource resource, long position, DataBufferFactory bufferFactory, int bufferSize) Read the givenResourceinto aFluxofDataBuffers starting at the given position.static Flux<DataBuffer> DataBufferUtils.read(Resource resource, DataBufferFactory bufferFactory, int bufferSize) Read the givenResourceinto aFluxofDataBuffers.static Flux<DataBuffer> DataBufferUtils.readAsynchronousFileChannel(Callable<AsynchronousFileChannel> channelSupplier, long position, DataBufferFactory bufferFactory, int bufferSize) Obtain anAsynchronousFileChannelfrom the given supplier, and read it into aFluxofDataBuffers, starting at the given position.static Flux<DataBuffer> DataBufferUtils.readAsynchronousFileChannel(Callable<AsynchronousFileChannel> channelSupplier, DataBufferFactory bufferFactory, int bufferSize) Obtain aAsynchronousFileChannelfrom the given supplier, and read it into aFluxofDataBuffers.static Flux<DataBuffer> DataBufferUtils.readByteChannel(Callable<ReadableByteChannel> channelSupplier, DataBufferFactory bufferFactory, int bufferSize) static Flux<DataBuffer> DataBufferUtils.readInputStream(Callable<InputStream> inputStreamSupplier, DataBufferFactory bufferFactory, int bufferSize) static Consumer<DataBuffer> DataBufferUtils.releaseConsumer()Return a consumer that callsDataBufferUtils.release(DataBuffer)on all passed data buffers.static Flux<DataBuffer> DataBufferUtils.write(Publisher<? extends DataBuffer> source, AsynchronousFileChannel channel, long position) Write the given stream ofDataBuffersto the givenAsynchronousFileChannel.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, OutputStream outputStream) Write the given stream ofDataBuffersto the givenOutputStream.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, AsynchronousFileChannel channel) Write the given stream ofDataBuffersto the givenAsynchronousFileChannel.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, WritableByteChannel channel) Write the given stream ofDataBuffersto the givenWritableByteChannel.Methods in org.springframework.core.io.buffer with parameters of type DataBufferModifier and TypeMethodDescriptionvoidLimitedDataBufferList.add(int index, DataBuffer buffer) booleanLimitedDataBufferList.add(DataBuffer buffer) intDataBufferUtils.Matcher.match(DataBuffer dataBuffer) Find the first matching delimiter and return the index of the last byte of the delimiter, or-1if not found.static booleanDataBufferUtils.release(@Nullable DataBuffer dataBuffer) Release the given data buffer.LimitedDataBufferList.set(int index, DataBuffer element) static io.netty.buffer.ByteBufNettyDataBufferFactory.toByteBuf(DataBuffer dataBuffer) Return the given NettyDataBufferas aByteBuf.DataBuffer.write(DataBuffer... buffers) Write one or moreDataBuffers to this buffer, starting at the current writing position.DataBufferWrapper.write(DataBuffer... buffers) DefaultDataBuffer.write(DataBuffer... dataBuffers) JettyDataBuffer.write(DataBuffer... buffers) NettyDataBuffer.write(DataBuffer... dataBuffers) Method parameters in org.springframework.core.io.buffer with type arguments of type DataBufferModifier and TypeMethodDescriptionbooleanLimitedDataBufferList.addAll(int index, Collection<? extends DataBuffer> collection) booleanLimitedDataBufferList.addAll(Collection<? extends DataBuffer> collection) DataBufferFactory.join(List<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of thedataBufferselements joined together.static Mono<DataBuffer> DataBufferUtils.join(Publisher<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of joining together the givendataBufferselements.static Mono<DataBuffer> DataBufferUtils.join(Publisher<? extends DataBuffer> buffers, int maxByteCount) Variant ofDataBufferUtils.join(Publisher)that behaves the same way up until the specified max number of bytes to buffer.DefaultDataBufferFactory.join(List<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of thedataBufferselements joined together.JettyDataBufferFactory.join(List<? extends DataBuffer> dataBuffers) NettyDataBufferFactory.join(List<? extends DataBuffer> dataBuffers) Return a newDataBuffercomposed of thedataBufferselements joined together.booleanLimitedDataBufferList.removeIf(Predicate<? super DataBuffer> filter) static Flux<DataBuffer> DataBufferUtils.write(Publisher<? extends DataBuffer> source, AsynchronousFileChannel channel, long position) Write the given stream ofDataBuffersto the givenAsynchronousFileChannel.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, OutputStream outputStream) Write the given stream ofDataBuffersto the givenOutputStream.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, AsynchronousFileChannel channel) Write the given stream ofDataBuffersto the givenAsynchronousFileChannel.static Flux<DataBuffer> DataBufferUtils.write(Publisher<DataBuffer> source, WritableByteChannel channel) Write the given stream ofDataBuffersto the givenWritableByteChannel.DataBufferUtils.write(Publisher<DataBuffer> source, Path destination, OpenOption... options) Write the given stream ofDataBuffersto the given filePath.Constructors in org.springframework.core.io.buffer with parameters of type DataBufferModifierConstructorDescriptionDataBufferWrapper(DataBuffer delegate) Create a newDataBufferWrapperthat wraps the given buffer. -
Uses of DataBuffer in org.springframework.http
Methods in org.springframework.http that return types with arguments of type DataBufferModifier and TypeMethodDescriptionReactiveHttpInputMessage.getBody()Return the body of the message as aPublisher.Method parameters in org.springframework.http with type arguments of type DataBufferModifier and TypeMethodDescriptionReactiveHttpOutputMessage.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) Use the givenPublisherofPublishersto write the body of the HttpOutputMessage to the underlying HTTP layer, flushing after eachPublisher<DataBuffer>.ReactiveHttpOutputMessage.writeWith(Publisher<? extends DataBuffer> body) Use the givenPublisherto write the body of the message to the underlying HTTP layer. -
Uses of DataBuffer in org.springframework.http.client.reactive
Methods in org.springframework.http.client.reactive that return types with arguments of type DataBufferModifier and TypeMethodDescriptionAbstractClientHttpResponse.getBody()ClientHttpResponseDecorator.getBody()Method parameters in org.springframework.http.client.reactive with type arguments of type DataBufferModifier and TypeMethodDescriptionClientHttpRequestDecorator.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) ClientHttpRequestDecorator.writeWith(Publisher<? extends DataBuffer> body) Constructor parameters in org.springframework.http.client.reactive with type arguments of type DataBufferModifierConstructorDescriptionprotectedAbstractClientHttpResponse(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<String, ResponseCookie> cookies, Flux<DataBuffer> body) -
Uses of DataBuffer in org.springframework.http.codec
Methods in org.springframework.http.codec that return DataBufferModifier and TypeMethodDescriptionprotected DataBufferKotlinSerializationStringEncoder.encodeStreamingValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints, byte[] prefix, byte[] suffix) AbstractJacksonEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationBinaryEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationStringEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec that return types with arguments of type DataBufferModifier and TypeMethodDescriptionAbstractJacksonEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationBinaryEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationStringEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> KotlinSerializationStringEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> AbstractJacksonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Process the input publisher into a flux.Methods in org.springframework.http.codec with parameters of type DataBufferModifier and TypeMethodDescriptionAbstractJacksonDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Method parameters in org.springframework.http.codec with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractJacksonDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationBinaryDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationStringDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractJacksonDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationBinaryDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationStringDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> AbstractJacksonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Process the input publisher into a flux. -
Uses of DataBuffer in org.springframework.http.codec.cbor
Methods in org.springframework.http.codec.cbor that return types with arguments of type DataBufferModifier and TypeMethodDescriptionJackson2CborEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.JacksonCborEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Method parameters in org.springframework.http.codec.cbor with type arguments of type DataBufferModifier and TypeMethodDescriptionJackson2CborDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.JacksonCborDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) -
Uses of DataBuffer in org.springframework.http.codec.json
Methods in org.springframework.http.codec.json that return DataBufferModifier and TypeMethodDescriptionAbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.GsonEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.json that return types with arguments of type DataBufferModifier and TypeMethodDescriptionAbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.GsonEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationJsonEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.Process the input publisher into a flux.protected Flux<DataBuffer> Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.protected Flux<DataBuffer> JacksonJsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.json with parameters of type DataBufferModifier and TypeMethodDescriptionAbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.GsonDecoder.decode(DataBuffer buffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Method parameters in org.springframework.http.codec.json with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.GsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) KotlinSerializationJsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.protected Flux<DataBuffer> AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.Process the input publisher into a flux.protected Flux<DataBuffer> Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.protected Flux<DataBuffer> JacksonJsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) -
Uses of DataBuffer in org.springframework.http.codec.multipart
Methods in org.springframework.http.codec.multipart that return DataBufferMethods in org.springframework.http.codec.multipart that return types with arguments of type DataBufferModifier and TypeMethodDescriptionPart.content()Return the content for this part.protected Mono<DataBuffer> MultipartWriterSupport.generateBoundaryLine(byte[] boundary, DataBufferFactory bufferFactory) protected Mono<DataBuffer> MultipartWriterSupport.generateLastLine(byte[] boundary, DataBufferFactory bufferFactory) protected Mono<DataBuffer> MultipartWriterSupport.generateNewLine(DataBufferFactory bufferFactory) protected Mono<DataBuffer> MultipartWriterSupport.generatePartHeaders(HttpHeaders headers, DataBufferFactory bufferFactory) Method parameters in org.springframework.http.codec.multipart with type arguments of type DataBufferModifier and TypeMethodDescriptionstatic Flux<FilePartEvent> FilePartEvent.create(String partName, String filename, MediaType contentType, Flux<DataBuffer> contents) Creates a stream ofFilePartEventobjects based on the given name, FilePartEvent.filename(), content-type, and contents.static Flux<FilePartEvent> FilePartEvent.create(String partName, String filename, MediaType contentType, Flux<DataBuffer> contents, @Nullable Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name, FilePartEvent.filename(), content-type, and contents. -
Uses of DataBuffer in org.springframework.http.codec.protobuf
Methods in org.springframework.http.codec.protobuf that return DataBufferModifier and TypeMethodDescriptionProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ProtobufJsonEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.protobuf that return types with arguments of type DataBufferModifier and TypeMethodDescriptionProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ProtobufJsonEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.protobuf with parameters of type DataBufferModifier and TypeMethodDescriptioncom.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) com.google.protobuf.MessageProtobufJsonDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected voidProtobufDecoder.merge(DataBuffer dataBuffer, com.google.protobuf.Message.Builder builder) Use merge methods onMessage.Builderto read a single message from the givenDataBuffer.ProtobufDecoder.MessageSizeReader.readMessageSize(DataBuffer input) Read the message size from the given buffer.Method parameters in org.springframework.http.codec.protobuf with type arguments of type DataBufferModifier and TypeMethodDescriptionFlux<com.google.protobuf.Message> ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Flux<com.google.protobuf.Message> ProtobufJsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Mono<com.google.protobuf.Message> ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Mono<com.google.protobuf.Message> ProtobufJsonDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) -
Uses of DataBuffer in org.springframework.http.codec.xml
Methods in org.springframework.http.codec.xml that return DataBufferModifier and TypeMethodDescriptionJaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.xml that return types with arguments of type DataBufferModifier and TypeMethodDescriptionJacksonXmlEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected Flux<DataBuffer> Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Methods in org.springframework.http.codec.xml with parameters of type DataBufferModifier and TypeMethodDescriptionJaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Method parameters in org.springframework.http.codec.xml with type arguments of type DataBufferModifier and TypeMethodDescriptionJacksonXmlDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) -
Uses of DataBuffer in org.springframework.http.server.reactive
Methods in org.springframework.http.server.reactive that return types with arguments of type DataBufferModifier and TypeMethodDescriptionprotected abstract Processor<? super Publisher<? extends DataBuffer>, Void> AbstractListenerServerHttpResponse.createBodyFlushProcessor()Abstract template method to create aProcessor<Publisher<DataBuffer>, Void>that will write the response body with flushes to the underlying output.ServerHttpRequestDecorator.getBody()Methods in org.springframework.http.server.reactive with parameters of type DataBufferModifier and TypeMethodDescriptionprotected voidAbstractServerHttpResponse.touchDataBuffer(DataBuffer buffer) Allow subclasses to associate a hint with the data buffer if it is a pooled buffer and supports leak tracking.Method parameters in org.springframework.http.server.reactive with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractServerHttpResponse.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) HttpHeadResponseDecorator.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) InvokeServerHttpResponseDecorator.setComplete()without writing.ServerHttpResponseDecorator.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) AbstractListenerServerHttpResponse.writeAndFlushWithInternal(Publisher<? extends Publisher<? extends DataBuffer>> body) AbstractServerHttpResponse.writeAndFlushWithInternal(Publisher<? extends Publisher<? extends DataBuffer>> body) Write to the underlying the response, and flush after eachPublisher<DataBuffer>.AbstractServerHttpResponse.writeWith(Publisher<? extends DataBuffer> body) HttpHeadResponseDecorator.writeWith(Publisher<? extends DataBuffer> body) Consume and release the body without writing.ServerHttpResponseDecorator.writeWith(Publisher<? extends DataBuffer> body) AbstractListenerServerHttpResponse.writeWithInternal(Publisher<? extends DataBuffer> body) AbstractServerHttpResponse.writeWithInternal(Publisher<? extends DataBuffer> body) Write to the underlying the response. -
Uses of DataBuffer in org.springframework.messaging.handler.invocation.reactive
Method parameters in org.springframework.messaging.handler.invocation.reactive with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractEncoderMethodReturnValueHandler.handleEncodedContent(Flux<DataBuffer> encodedContent, MethodParameter returnType, Message<?> message) Subclasses implement this method to handle encoded values in some way such as creating and sending messages. -
Uses of DataBuffer in org.springframework.messaging.rsocket
Methods in org.springframework.messaging.rsocket that return DataBufferModifier and TypeMethodDescriptionstatic DataBufferPayloadUtils.retainDataAndReleasePayload(io.rsocket.Payload payload, DataBufferFactory bufferFactory) Use this method to slice, retain and wrap the data portion of thePayload, and also to release thePayload.Methods in org.springframework.messaging.rsocket with parameters of type DataBufferModifier and TypeMethodDescriptionstatic io.rsocket.PayloadPayloadUtils.createPayload(DataBuffer data) Create a Payload with data only.static io.rsocket.PayloadPayloadUtils.createPayload(DataBuffer data, DataBuffer metadata) Create a Payload from the given metadata and data. -
Uses of DataBuffer in org.springframework.messaging.rsocket.annotation.support
Method parameters in org.springframework.messaging.rsocket.annotation.support with type arguments of type DataBufferModifier and TypeMethodDescriptionRSocketPayloadReturnValueHandler.handleEncodedContent(Flux<DataBuffer> encodedContent, MethodParameter returnType, Message<?> message) -
Uses of DataBuffer in org.springframework.mock.http.client.reactive
Methods in org.springframework.mock.http.client.reactive that return types with arguments of type DataBufferModifier and TypeMethodDescriptionMockClientHttpRequest.getBody()Return the request body, or an error stream if the body was never set or whenMockClientHttpRequest.setWriteHandler(Function)is configured.MockClientHttpResponse.getBody()Method parameters in org.springframework.mock.http.client.reactive with type arguments of type DataBufferModifier and TypeMethodDescriptionvoidMockClientHttpResponse.setBody(Publisher<DataBuffer> body) voidMockClientHttpRequest.setWriteHandler(Function<Flux<DataBuffer>, Mono<Void>> writeHandler) Configure a custom handler for writing the request body.MockClientHttpRequest.writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> body) MockClientHttpRequest.writeWith(Publisher<? extends DataBuffer> body) -
Uses of DataBuffer in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive that return types with arguments of type DataBufferModifier and TypeMethodDescriptionMockServerHttpRequest.getBody()MockServerHttpResponse.getBody()Return the response body or an error stream if the body was not set.Method parameters in org.springframework.mock.http.server.reactive with type arguments of type DataBufferModifier and TypeMethodDescriptionMockServerHttpRequest.BodyBuilder.body(Publisher<? extends DataBuffer> body) Set the body of the request and build it.voidMockServerHttpResponse.setWriteHandler(Function<Flux<DataBuffer>, Mono<Void>> writeHandler) Configure a custom handler to consume the response body.MockServerHttpResponse.writeAndFlushWithInternal(Publisher<? extends Publisher<? extends DataBuffer>> body) MockServerHttpResponse.writeWithInternal(Publisher<? extends DataBuffer> body) -
Uses of DataBuffer in org.springframework.web.reactive.function
Methods in org.springframework.web.reactive.function with type parameters of type DataBufferModifier and TypeMethodDescriptionstatic <T extends Publisher<DataBuffer>>
BodyInserter<T, ReactiveHttpOutputMessage> BodyInserters.fromDataBuffers(T publisher) Inserter to write the givenPublisher<DataBuffer>to the body.static <T extends Publisher<DataBuffer>>
BodyInserter<T, ReactiveHttpOutputMessage> BodyInserters.fromOutputStream(Consumer<OutputStream> outputStreamConsumer, Executor executor) Inserter based on bytes written to aOutputStream.static <T extends Publisher<DataBuffer>>
BodyInserter<T, ReactiveHttpOutputMessage> BodyInserters.fromOutputStream(Consumer<OutputStream> outputStreamConsumer, Executor executor, int chunkSize) Inserter based on bytes written to aOutputStream.Methods in org.springframework.web.reactive.function that return types with arguments of type DataBufferModifier and TypeMethodDescriptionstatic BodyExtractor<Flux<DataBuffer>, ReactiveHttpInputMessage> BodyExtractors.toDataBuffers()Extractor that returns the rawDataBuffers. -
Uses of DataBuffer in org.springframework.web.reactive.function.client
Method parameters in org.springframework.web.reactive.function.client with type arguments of type DataBufferModifier and TypeMethodDescriptionClientResponse.Builder.body(Function<Flux<DataBuffer>, Flux<DataBuffer>> transformer) Transform the response body, if set in the builder.ClientResponse.Builder.body(Function<Flux<DataBuffer>, Flux<DataBuffer>> transformer) Transform the response body, if set in the builder.ClientResponse.Builder.body(Flux<DataBuffer> body) Set the body of the response. -
Uses of DataBuffer in org.springframework.web.reactive.function.server
Method parameters in org.springframework.web.reactive.function.server with type arguments of type DataBufferModifier and TypeMethodDescriptionServerRequest.Builder.body(Flux<DataBuffer> body) Set the body of the request. -
Uses of DataBuffer in org.springframework.web.reactive.socket
Methods in org.springframework.web.reactive.socket that return DataBufferMethod parameters in org.springframework.web.reactive.socket with type arguments of type DataBufferModifier and TypeMethodDescriptionWebSocketSession.binaryMessage(Function<DataBufferFactory, DataBuffer> payloadFactory) Factory method to create a binary WebSocketMessage using theWebSocketSession.bufferFactory()for the session.WebSocketSession.pingMessage(Function<DataBufferFactory, DataBuffer> payloadFactory) Factory method to create a ping WebSocketMessage using theWebSocketSession.bufferFactory()for the session.WebSocketSession.pongMessage(Function<DataBufferFactory, DataBuffer> payloadFactory) Factory method to create a pong WebSocketMessage using theWebSocketSession.bufferFactory()for the session.Constructors in org.springframework.web.reactive.socket with parameters of type DataBufferModifierConstructorDescriptionWebSocketMessage(WebSocketMessage.Type type, DataBuffer payload) Constructor for a WebSocketMessage.WebSocketMessage(WebSocketMessage.Type type, DataBuffer payload, @Nullable Object nativeMessage) Constructor for an inbound message with access to the underlying message. -
Uses of DataBuffer in org.springframework.web.reactive.socket.adapter
Method parameters in org.springframework.web.reactive.socket.adapter with type arguments of type DataBufferModifier and TypeMethodDescriptionAbstractWebSocketSession.binaryMessage(Function<DataBufferFactory, DataBuffer> payloadFactory) AbstractWebSocketSession.pingMessage(Function<DataBufferFactory, DataBuffer> payloadFactory) AbstractWebSocketSession.pongMessage(Function<DataBufferFactory, DataBuffer> payloadFactory)
Decoder.decode(DataBuffer, ResolvableType, MimeType, Map)instead