Add @⁠since tags for DataBufferUtils.outputStreamPublisher() methods

See gh-31184
Closes gh-31376
This commit is contained in:
Johnny Lim
2023-10-09 00:01:08 +09:00
committed by Sam Brannen
parent b98b999997
commit 8ed302bfa4

View File

@@ -438,6 +438,7 @@ public abstract class DataBufferUtils {
* @param executor used to invoke the {@code outputStreamHandler}
* @return a {@code Publisher<DataBuffer>} based on bytes written by
* {@code outputStreamHandler}
* @since 6.1
*/
public static Publisher<DataBuffer> outputStreamPublisher(Consumer<OutputStream> outputStreamConsumer,
DataBufferFactory bufferFactory, Executor executor) {
@@ -474,6 +475,7 @@ public abstract class DataBufferUtils {
* @param chunkSize minimum size of the buffer produced by the publisher
* @return a {@code Publisher<DataBuffer>} based on bytes written by
* {@code outputStreamHandler}
* @since 6.1
*/
public static Publisher<DataBuffer> outputStreamPublisher(Consumer<OutputStream> outputStreamConsumer,
DataBufferFactory bufferFactory, Executor executor, int chunkSize) {