Support for MongoDB GridFS feature.
-
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.chunkSize(int chunkSize)
Set the upload chunk size in bytes.
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.content(org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> source)
Define the content of the file to upload.
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.filename(String filename)
ReactiveGridFsUpload.fromPublisher(org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> source)
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.gridFsFile(com.mongodb.client.gridfs.model.GridFSFile gridFSFile)
Set id, filename, metadata and chunk size from given file.
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.id(T1 id)
ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.metadata(org.bson.Document metadata)
Set additional file information.