Class GridFsEndpointBuilderFactory.GridFsHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.GridFsEndpointBuilderFactory.GridFsHeaderNameBuilder
-
- Enclosing interface:
- GridFsEndpointBuilderFactory
public static class GridFsEndpointBuilderFactory.GridFsHeaderNameBuilder extends Object
The builder of headers' name for the MongoDB GridFS component.
-
-
Constructor Summary
Constructors Constructor Description GridFsHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcontentType()The content type of the file.StringfileContentType()The content type of the file.StringfileLastModified()The size of the file.StringfileLength()The size of the file.StringfileName()The name of the file.StringfileNameProduced()The file name produced.StringgridfsChunksize()The number of bytes per chunk for the uploaded file.StringgridfsFileid()The ObjectId of the file produced.StringgridfsMetadata()Any additional metadata stored along with the file in JSON format.StringgridfsObjectid()The ObjectId of the file.StringgridfsOperation()The operation to perform.
-
-
-
Method Detail
-
fileContentType
public String fileContentType()
The content type of the file. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
FileContentType.
-
fileLength
public String fileLength()
The size of the file. The option is a:longtype. Group: consumer- Returns:
- the name of the header
FileLength.
-
fileLastModified
public String fileLastModified()
The size of the file. The option is a:Datetype. Group: consumer- Returns:
- the name of the header
FileLastModified.
-
fileName
public String fileName()
The name of the file. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
FileName.
-
contentType
public String contentType()
The content type of the file. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
Content-Type.
-
fileNameProduced
public String fileNameProduced()
The file name produced. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
FileNameProduced.
-
gridfsMetadata
public String gridfsMetadata()
Any additional metadata stored along with the file in JSON format. The option is a:Stringtype. Group: common- Returns:
- the name of the header
gridfs.metadata.
-
gridfsOperation
public String gridfsOperation()
The operation to perform. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
gridfs.operation.
-
gridfsChunksize
public String gridfsChunksize()
The number of bytes per chunk for the uploaded file. The option is a:Integertype. Group: producer- Returns:
- the name of the header
gridfs.chunksize.
-
gridfsFileid
public String gridfsFileid()
The ObjectId of the file produced. The option is a:org.bson.types.ObjectIdtype. Group: producer- Returns:
- the name of the header
gridfs.fileid.
-
gridfsObjectid
public String gridfsObjectid()
The ObjectId of the file. The option is a:org.bson.types.ObjectIdtype. Group: producer- Returns:
- the name of the header
gridfs.objectid.
-
-