Class Olingo4Resource
- java.lang.Object
-
- org.apache.camel.quarkus.component.olingo4.it.Olingo4Resource
-
@Path("/olingo4") @ApplicationScoped public class Olingo4Resource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplatestatic StringTEST_SERVICE_BASE_URL
-
Constructor Summary
Constructors Constructor Description Olingo4Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(String sessionId, String json)javax.ws.rs.core.Responsedelete(String sessionId)javax.ws.rs.core.Responseread(String sessionId)javax.ws.rs.core.Responseupdate(String sessionId, String json)
-
-
-
Field Detail
-
TEST_SERVICE_BASE_URL
public static final String TEST_SERVICE_BASE_URL
- See Also:
- Constant Field Values
-
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
-
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)
-
-