Package net.bluemind.core.rest.base
Interface IRestBusHandler
- All Known Implementing Classes:
RestRootHandler
public interface IRestBusHandler
-
Method Summary
Modifier and TypeMethodDescription<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
-
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)
-