@EndPoint @Path(value="/coeus") public class SpeakApi extends Object
| Constructor and Description |
|---|
SpeakApi() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.json.JsonObject |
speak(io.vertx.core.json.JsonObject data) |
io.vertx.core.json.JsonObject |
talk(String word) |
@Path(value="/speak")
@POST
public io.vertx.core.json.JsonObject speak(@BodyParam
io.vertx.core.json.JsonObject data)
@Path(value="/talk/{word}")
@GET
public io.vertx.core.json.JsonObject talk(@PathParam(value="word")
String word)
Copyright © 2018. All rights reserved.