Class QuteResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.qute.it.QuteResource
-
@Path("/qute") @ApplicationScoped public class QuteResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description QuteResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInvalidTemplatePath()StringgetTemplateFromHeader(String content)StringgetTemplateFromPath(String name)
-
-
-
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
-
-