Class XmlResource


  • @Path("/xml")
    @ApplicationScoped
    public class XmlResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
      • consumerTemplate

        @Inject
        org.apache.camel.ConsumerTemplate consumerTemplate
    • Constructor Detail

      • XmlResource

        public XmlResource()
    • Method Detail

      • classpath

        @Path("/xslt")
        @POST
        @Produces("text/plain")
        public String classpath​(String body)
      • extensionFunction

        @Path("/xslt-extension-function")
        @POST
        @Produces("text/plain")
        public String extensionFunction​(String body)
      • htmlTransform

        @Path("/html-transform")
        @POST
        @Consumes("text/html")
        @Produces("text/plain")
        public String htmlTransform​(String html)
      • htmlToText

        @Path("/html-to-text")
        @POST
        @Consumes("text/html")
        @Produces("text/plain")
        public String htmlToText​(String html)
      • xpath

        @Path("/xpath")
        @POST
        @Consumes("application/xml")
        @Produces("text/plain")
        public String xpath​(String message)
      • tokenize

        @Path("/xtokenize")
        @POST
        @Consumes("application/xml")
        @Produces("text/plain")
        public String tokenize​(String message)