Package net.bluemind.core.rest.vertx
Class RestJsonVertxRootHandler
java.lang.Object
net.bluemind.core.rest.vertx.RestJsonVertxRootHandler
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
public class RestJsonVertxRootHandler
extends Object
implements io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
-
Constructor Summary
ConstructorDescriptionRestJsonVertxRootHandler
(io.vertx.core.Vertx vertx, RestRootHandler rootHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected io.vertx.core.json.JsonObject
protected io.vertx.core.json.JsonObject
buildResponse
(RestResponse value) void
handle
(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> request)
-
Constructor Details
-
RestJsonVertxRootHandler
-
-
Method Details
-
handle
public void handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> request) - Specified by:
handle
in interfaceio.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
-
buildFailure
-
buildResponse
-