Package application.schema
Class Request
java.lang.Object
application.schema.Request
This utility class allows to create a request for the server.
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.vertx.core.json.JsonObject
createJsonRequest
(String message, io.vertx.core.json.JsonObject input)
-
Method Details
-
createJsonRequest
public static io.vertx.core.json.JsonObject createJsonRequest(String message, io.vertx.core.json.JsonObject input) - Parameters:
message
- representing the needed server functionalityinput
- data to send to the server- Returns:
- the request as a JsonObject
-