Class QuteResource


  • @Path("/qute")
    @ApplicationScoped
    public class QuteResource
    extends Object
    • Field Detail

      • producerTemplate

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

      • QuteResource

        public QuteResource()
    • Method Detail

      • getTemplateFromHeader

        @Path("/template")
        @POST
        @Produces("text/plain")
        public String getTemplateFromHeader​(String content)
                                     throws Exception
        Throws:
        Exception
      • getTemplateFromPath

        @Path("/template/{name}")
        @GET
        @Produces("text/plain")
        public String getTemplateFromPath​(@PathParam("name")
                                          String name)
                                   throws Exception
        Throws:
        Exception
      • getInvalidTemplatePath

        @Path("/template/invalid/path")
        @GET
        @Produces("text/plain")
        public String getInvalidTemplatePath()
                                      throws Exception
        Throws:
        Exception