Package server
Class AbstractRestAPI
java.lang.Object
server.AbstractRestAPI
- Direct Known Subclasses:
UserService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<io.vertx.core.json.JsonObject>
askService
(io.vertx.core.json.JsonObject requestBody, io.vertx.core.http.HttpMethod method, String requestURI) protected CompletableFuture<io.vertx.core.json.JsonObject>
askServiceWithFuture
(io.vertx.core.json.JsonObject requestBody, io.vertx.core.http.HttpMethod method, String requestURI, CompletableFuture<io.vertx.core.json.JsonObject> future) protected CompletableFuture<io.vertx.core.json.JsonObject>
askServiceWithFutureNoBody
(io.vertx.core.http.HttpMethod method, String requestURI, CompletableFuture<io.vertx.core.json.JsonObject> future) getHost()
int
getPort()
-
Constructor Details
-
AbstractRestAPI
-
-
Method Details
-
getPort
public int getPort() -
getHost
-
askService
protected CompletableFuture<io.vertx.core.json.JsonObject> askService(io.vertx.core.json.JsonObject requestBody, io.vertx.core.http.HttpMethod method, String requestURI) -
askServiceWithFuture
protected CompletableFuture<io.vertx.core.json.JsonObject> askServiceWithFuture(io.vertx.core.json.JsonObject requestBody, io.vertx.core.http.HttpMethod method, String requestURI, CompletableFuture<io.vertx.core.json.JsonObject> future) -
askServiceWithFutureNoBody
protected CompletableFuture<io.vertx.core.json.JsonObject> askServiceWithFutureNoBody(io.vertx.core.http.HttpMethod method, String requestURI, CompletableFuture<io.vertx.core.json.JsonObject> future)
-