Class KnativeSourceApplication
- java.lang.Object
-
- org.apache.camel.k.quarkus.it.knative.source.KnativeSourceApplication
-
@Path("/test") @ApplicationScoped public class KnativeSourceApplication extends Object
-
-
Constructor Summary
Constructors Constructor Description KnativeSourceApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.json.JsonArray
endpointUris()
javax.ws.rs.core.Response
poll()
void
send(String data)
void
toUpper(String data)
-
-
-
Method Detail
-
toUpper
@POST @Path("/toUpper") @Produces("text/plain") public void toUpper(String data) throws InterruptedException
- Throws:
InterruptedException
-
endpointUris
@GET @Path("/inspect/endpoint-uris") @Produces("application/json") public javax.json.JsonArray endpointUris()
-
send
@POST @Path("/send") @Produces("text/plain") public void send(String data)
-
poll
@GET @Path("/poll") @Produces("text/plain") public javax.ws.rs.core.Response poll()
-
-