Class MustacheResource


  • @Path("/mustache")
    @ApplicationScoped
    public class MustacheResource
    extends Object
    • Field Detail

      • template

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

      • MustacheResource

        public MustacheResource()
    • Method Detail

      • templateFromClassPathResource

        @Path("/templateFromClassPathResource")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String templateFromClassPathResource​(String message)
      • templateFromHeader

        @Path("/templateFromHeader")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String templateFromHeader​(String message)
      • templateUriFromHeader

        @Path("/templateUriFromHeader")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String templateUriFromHeader​(String message)
      • templateWithInheritance

        @Path("/templateWithInheritance")
        @GET
        @Produces("text/plain")
        public String templateWithInheritance()
      • templateWithPartials

        @Path("/templateWithPartials")
        @GET
        @Produces("text/plain")
        public String templateWithPartials()
      • templateFromRegistry

        @Path("/templateFromRegistry")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String templateFromRegistry​(String message)