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 Details

    • RestJsonVertxRootHandler

      public RestJsonVertxRootHandler(io.vertx.core.Vertx vertx, RestRootHandler rootHandler)
  • Method Details

    • handle

      public void handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> request)
      Specified by:
      handle in interface io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
    • buildFailure

      protected io.vertx.core.json.JsonObject buildFailure(Throwable e)
    • buildResponse

      protected io.vertx.core.json.JsonObject buildResponse(RestResponse value)