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