@Path("/jolt")
@ApplicationScoped
public class JoltResource
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
-
Constructor Details
-
JoltResource
public JoltResource()
-
Method Details
-
defaultr
@Path("/defaultr")
@PUT
@Consumes("text/plain")
@Produces("text/plain")
public String defaultr(String value)
-
removr
@Path("/removr")
@PUT
@Consumes("text/plain")
@Produces("text/plain")
public String removr(String value)
-
sample
@Path("/sample")
@PUT
@Consumes("application/json")
@Produces("application/json")
public String sample(String inputJson)
-
function
@Path("/function")
@PUT
@Consumes("application/json")
@Produces("application/json")
public String function(String inputJson)