@Path("/xpath")
@ApplicationScoped
public class XPathResource
extends Object
-
Field Summary
Fields
(package private) org.apache.camel.ProducerTemplate
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
template
@Inject
org.apache.camel.ProducerTemplate template
-
priceBean
@Inject
@Named("priceBean")
PriceBean priceBean
-
Constructor Details
-
XPathResource
public XPathResource()
-
Method Details
-
-
choice
@Path("/choice")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String choice(String xml)
-
coreXPathFunctions
@Path("/coreXPathFunctions")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String coreXPathFunctions(String xml)
-
camelXPathFunctions
@Path("/camelXPathFunctions")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String camelXPathFunctions(String fooHeaderValue)
-
resource
@Path("/resource")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String resource(String xml)
-
annotation
@Path("/annotation")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String annotation(String xml)
-
properties
@Path("/properties")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String properties(String typeHeaderValue)
-
simple
@Path("/simple")
@GET
@Consumes("text/plain")
@Produces("text/plain")
public String simple(String xml)