Uses of Class
org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Uses of ReactiveGridFsUpload.ReactiveGridFsUploadBuilder in org.springframework.data.mongodb.gridfs
Modifier and TypeMethodDescriptionReactiveGridFsUpload.ReactiveGridFsUploadBuilder.chunkSize
(int chunkSize) Set the upload chunk size in bytes.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.content
(org.reactivestreams.Publisher<DataBuffer> source) Define the content of the file to upload.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.contentType
(String contentType) Set the content type.Set the filename.static ReactiveGridFsUpload.ReactiveGridFsUploadBuilder<org.bson.types.ObjectId>
ReactiveGridFsUpload.fromPublisher
(org.reactivestreams.Publisher<DataBuffer> source) Create a new instance ofReactiveGridFsUpload
for the givenPublisher
.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) Set the id to use.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.metadata
(org.bson.Document metadata) Set the file metadata.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.options
(GridFsObject.Options options) Set additional file information.