@Path("/ognl")
@ApplicationScoped
public class OgnlResource
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
-
producerTemplate
@Inject
org.apache.camel.ProducerTemplate producerTemplate
-
Constructor Details
-
OgnlResource
public OgnlResource()
-
Method Details
-
hello
@POST
@Path("/hello")
@Consumes("text/plain")
@Produces("text/plain")
public String hello(String message)
-
hi
@GET
@Path("/hi")
public String hi()
-
predicate
@POST
@Path("/predicate")
@Consumes("text/plain")
@Produces("text/plain")
public String predicate(String message)
-
invokeMethod
@GET
@Path("/invokeMethod")
@Produces("text/plain")
public String invokeMethod()
-
ognlExpressions
@GET
@Path("/ognlExpressions")
@Produces("text/plain")
public String ognlExpressions()