Class ArangodbResource


  • @Path("/arangodb/camel")
    @ApplicationScoped
    public class ArangodbResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • ArangodbResource

        public ArangodbResource()
    • Method Detail

      • put

        @PUT
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response put​(String message)
                                      throws Exception
        Throws:
        Exception
      • get

        @Path("{key}")
        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response get​(@PathParam("key")
                                             String key)
                                      throws Exception
        Throws:
        Exception
      • delete

        @Path("{key}")
        @DELETE
        public javax.ws.rs.core.Response delete​(@PathParam("key")
                                                String key)
                                         throws Exception
        Throws:
        Exception
      • post

        @Path("{key}")
        @POST
        @Consumes("text/plain")
        public javax.ws.rs.core.Response post​(@PathParam("key")
                                              String key,
                                              String msg)
                                       throws Exception
        Throws:
        Exception
      • getByFooName

        @Path("/foo/{fooName}")
        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response getByFooName​(@PathParam("fooName")
                                                      String fooName)
                                               throws Exception
        Throws:
        Exception