Class NitriteResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.nitrite.it.NitriteResource
-
@Path("/nitrite") @ApplicationScoped public class NitriteResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ConsumerTemplateconsumerTemplate(package private) StringdbFile(package private) org.apache.camel.FluentProducerTemplateproducerTemplatestatic StringPROPERTY_DB_FILE
-
Constructor Summary
Constructors Constructor Description NitriteResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcollection()Objectcollection(org.dizitart.no2.Document doc)ObjectcollectionOperation(Operation operation)javax.ws.rs.core.ResponsegetRepositoryClass(boolean mappable)ObjectpostRepositoryClass(EmployeeSerializable object, boolean mappable)ObjectpostRepositoryClassOperation(Operation operation, boolean mappable)
-
-
-
Field Detail
-
PROPERTY_DB_FILE
public static final String PROPERTY_DB_FILE
- See Also:
- Constant Field Values
-
dbFile
String dbFile
-
producerTemplate
@Inject org.apache.camel.FluentProducerTemplate producerTemplate
-
consumerTemplate
@Inject org.apache.camel.ConsumerTemplate consumerTemplate
-
-
Method Detail
-
getRepositoryClass
@Path("/getRepositoryClass") @GET @Produces("application/json") public javax.ws.rs.core.Response getRepositoryClass(@QueryParam("mappable") boolean mappable) throws Exception- Throws:
Exception
-
postRepositoryClass
@Path("/repositoryClass") @POST @Consumes("application/json") @Produces("application/json") public Object postRepositoryClass(EmployeeSerializable object, @QueryParam("mappable") boolean mappable)
-
postRepositoryClassOperation
@Path("/repositoryClassOperation") @POST @Consumes("application/json") @Produces("application/json") public Object postRepositoryClassOperation(Operation operation, @QueryParam("mappable") boolean mappable)
-
collection
@Path("/collection") @GET @Produces("application/json") public Object collection() throws Exception- Throws:
Exception
-
collection
@Path("/collection") @POST @Consumes("application/json") @Produces("application/json") public Object collection(org.dizitart.no2.Document doc)
-
-