public class RestRootHandler extends java.lang.Object implements IRestCallHandler, IRestBusHandler
Modifier and Type | Class and Description |
---|---|
static class |
RestRootHandler.TreePathLeaf |
static class |
RestRootHandler.TreePathNode |
Constructor and Description |
---|
RestRootHandler(org.vertx.java.core.Vertx vertx) |
Modifier and Type | Method and Description |
---|---|
void |
call(RestRequest request,
AsyncHandler<RestResponse> responseHandler) |
java.util.concurrent.ExecutorService |
executor() |
void |
register(RestRequest request,
java.util.function.Function<java.lang.Void,org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<?>>> msgHandler,
org.vertx.java.core.Handler<ServerFault> reject) |
void |
sendEvent(RestRequest request,
org.vertx.java.core.json.JsonObject evt) |
void |
sendEvent(RestRequest request,
org.vertx.java.core.json.JsonObject evt,
org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject>> handler) |
void |
unregisterHandler(java.lang.String path,
org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<?>> handler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
public java.util.concurrent.ExecutorService executor()
public void call(RestRequest request, AsyncHandler<RestResponse> responseHandler)
call
in interface IRestCallHandler
public void register(RestRequest request, java.util.function.Function<java.lang.Void,org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<?>>> msgHandler, org.vertx.java.core.Handler<ServerFault> reject)
register
in interface IRestBusHandler
public void unregisterHandler(java.lang.String path, org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<?>> handler)
unregisterHandler
in interface IRestBusHandler
public void sendEvent(RestRequest request, org.vertx.java.core.json.JsonObject evt)
sendEvent
in interface IRestBusHandler
public void sendEvent(RestRequest request, org.vertx.java.core.json.JsonObject evt, org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject>> handler)
sendEvent
in interface IRestBusHandler
Copyright © 2021. All Rights Reserved.