Class GridFsEndpointBuilderFactory.GridFsHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.GridFsEndpointBuilderFactory.GridFsHeaderNameBuilder
- Enclosing interface:
GridFsEndpointBuilderFactory
The builder of headers' name for the MongoDB GridFS component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe content type of the file.The content type of the file.The size of the file.The size of the file.fileName()
The name of the file.The file name produced.The number of bytes per chunk for the uploaded file.The ObjectId of the file produced.Any additional metadata stored along with the file in JSON format.The ObjectId of the file.The operation to perform.
-
Constructor Details
-
GridFsHeaderNameBuilder
public GridFsHeaderNameBuilder()
-
-
Method Details
-
fileContentType
The content type of the file. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileContentType
.
-
fileLength
The size of the file. The option is a:long
type. Group: consumer- Returns:
- the name of the header
FileLength
.
-
fileLastModified
The size of the file. The option is a:Date
type. Group: consumer- Returns:
- the name of the header
FileLastModified
.
-
fileName
The name of the file. The option is a:String
type. Group: producer- Returns:
- the name of the header
FileName
.
-
contentType
The content type of the file. The option is a:String
type. Group: producer- Returns:
- the name of the header
Content-Type
.
-
fileNameProduced
The file name produced. The option is a:String
type. Group: producer- Returns:
- the name of the header
FileNameProduced
.
-
gridfsMetadata
Any additional metadata stored along with the file in JSON format. The option is a:String
type. Group: common- Returns:
- the name of the header
gridfs.metadata
.
-
gridfsOperation
The operation to perform. The option is a:String
type. Group: producer- Returns:
- the name of the header
gridfs.operation
.
-
gridfsChunksize
The number of bytes per chunk for the uploaded file. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
gridfs.chunksize
.
-
gridfsFileid
The ObjectId of the file produced. The option is a:org.bson.types.ObjectId
type. Group: producer- Returns:
- the name of the header
gridfs.fileid
.
-
gridfsObjectid
The ObjectId of the file. The option is a:org.bson.types.ObjectId
type. Group: producer- Returns:
- the name of the header
gridfs.objectid
.
-