Interface IRestBusHandler

All Known Implementing Classes:
RestRootHandler

public interface IRestBusHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> io.vertx.core.Future<io.vertx.core.eventbus.MessageConsumer<T>>
    register(RestRequest request, Supplier<io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>> msgHandler, io.vertx.core.Handler<ServerFault> reject)
     
    void
    sendEvent(RestRequest request, io.vertx.core.json.JsonObject evt)
     
    void
    sendEvent(RestRequest request, io.vertx.core.json.JsonObject evt, io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>> handler)
     
  • Method Details

    • register

      <T> io.vertx.core.Future<io.vertx.core.eventbus.MessageConsumer<T>> register(RestRequest request, Supplier<io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>> msgHandler, io.vertx.core.Handler<ServerFault> reject)
    • sendEvent

      void sendEvent(RestRequest request, io.vertx.core.json.JsonObject evt)
    • sendEvent

      void sendEvent(RestRequest request, io.vertx.core.json.JsonObject evt, io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>> handler)