public class RestJsonVertxRootHandler
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
Constructor and Description |
---|
RestJsonVertxRootHandler(io.vertx.core.Vertx vertx,
RestRootHandler rootHandler) |
Modifier and Type | Method and Description |
---|---|
protected io.vertx.core.json.JsonObject |
buildFailure(java.lang.Throwable e) |
protected io.vertx.core.json.JsonObject |
buildResponse(RestResponse value) |
void |
handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> request) |
public RestJsonVertxRootHandler(io.vertx.core.Vertx vertx, RestRootHandler rootHandler)
public void handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> request)
handle
in interface io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
protected io.vertx.core.json.JsonObject buildFailure(java.lang.Throwable e)
protected io.vertx.core.json.JsonObject buildResponse(RestResponse value)
Copyright © 2021. All Rights Reserved.