Uses of Class
org.springframework.data.mongodb.gridfs.GridFsObject.Options
-
Uses of GridFsObject.Options in org.springframework.data.mongodb.gridfs
Modifier and TypeMethodDescriptionGridFsObject.Options.chunkSize
(int chunkSize) GridFsObject.Options.contentType
(String contentType) Set the associated content type.static GridFsObject.Options
GridFsObject.Options.from
(com.mongodb.client.gridfs.model.GridFSFile gridFSFile) Static factory method to createGridFsObject.Options
by extracting information from the givenGridFSFile
.GridFsObject.getOptions()
Additional information like file metadata (eg. contentType).GridFsResource.getOptions()
GridFsUpload.getOptions()
ReactiveGridFsResource.getOptions()
ReactiveGridFsUpload.getOptions()
GridFsObject.Options.metadata
(org.bson.Document metadata) static GridFsObject.Options
GridFsObject.Options.none()
Static factory to create empty options.static GridFsObject.Options
Static factory method to createGridFsObject.Options
with given content type.Modifier and TypeMethodDescriptionGridFsUpload.GridFsUploadBuilder.options
(GridFsObject.Options options) Set additional file information.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder.options
(GridFsObject.Options options) Set additional file information.ModifierConstructorDescriptionReactiveGridFsResource
(Object id, String filename, GridFsObject.Options options, com.mongodb.reactivestreams.client.gridfs.GridFSDownloadPublisher downloadPublisher) Creates a new, absentReactiveGridFsResource
.