Class Olingo4Resource


  • @Path("/olingo4")
    @ApplicationScoped
    public class Olingo4Resource
    extends Object
    • Field Detail

      • producerTemplate

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

      • Olingo4Resource

        public Olingo4Resource()
    • Method Detail

      • create

        @Path("/create")
        @POST
        @Consumes("application/json")
        @Produces("text/plain")
        public javax.ws.rs.core.Response create​(@QueryParam("sessionId")
                                                String sessionId,
                                                String json)
                                         throws Exception
        Throws:
        Exception
      • read

        @Path("/read")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response read​(@QueryParam("sessionId")
                                              String sessionId)
      • update

        @Path("/update")
        @PATCH
        @Consumes("application/json")
        public javax.ws.rs.core.Response update​(@QueryParam("sessionId")
                                                String sessionId,
                                                String json)
      • delete

        @Path("/delete")
        @DELETE
        public javax.ws.rs.core.Response delete​(@QueryParam("sessionId")
                                                String sessionId)