Class ServicenowResource


  • @Path("/servicenow")
    @ApplicationScoped
    public class ServicenowResource
    extends Object
    • Field Detail

      • producerTemplate

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

      • ServicenowResource

        public ServicenowResource()
    • Method Detail

      • post

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

        @Path("/get")
        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response get​(@QueryParam("incidentSysId")
                                             String incidentSysId)
      • delete

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