Class MustacheResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.mustache.it.MustacheResource
-
@Path("/mustache") @ApplicationScoped public class MustacheResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description MustacheResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtemplateFromClassPathResource(String message)StringtemplateFromHeader(String message)StringtemplateFromRegistry(String message)StringtemplateUriFromHeader(String message)StringtemplateWithInheritance()StringtemplateWithPartials()
-
-
-
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()
-
-