Package io.vertx.ext.mongo
Class GridFsDownloadOptions
- java.lang.Object
-
- io.vertx.ext.mongo.GridFsDownloadOptions
-
public class GridFsDownloadOptions extends Object
Options used to configure downloads from GridFS.- Author:
- David Bush
-
-
Field Summary
Fields Modifier and Type Field Description static Integer
DEFAULT_REVISION
-
Constructor Summary
Constructors Constructor Description GridFsDownloadOptions()
Default constructorGridFsDownloadOptions(JsonObject options)
Constructor from JSONGridFsDownloadOptions(GridFsDownloadOptions options)
Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getRevision()
int
hashCode()
GridFsDownloadOptions
setRevision(Integer revision)
JsonObject
toJson()
Convert to JSONString
toString()
-
-
-
Field Detail
-
DEFAULT_REVISION
public static final Integer DEFAULT_REVISION
-
-
Constructor Detail
-
GridFsDownloadOptions
public GridFsDownloadOptions()
Default constructor
-
GridFsDownloadOptions
public GridFsDownloadOptions(GridFsDownloadOptions options)
Copy constructor- Parameters:
options
- the one to copy
-
GridFsDownloadOptions
public GridFsDownloadOptions(JsonObject options)
Constructor from JSON- Parameters:
options
- the JSON
-
-
Method Detail
-
toJson
public JsonObject toJson()
Convert to JSON- Returns:
- the JSON
-
getRevision
public Integer getRevision()
-
setRevision
public GridFsDownloadOptions setRevision(Integer revision)
-
-