public class RestSockJsProxyHandler
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.parsetools.JsonEvent>
Constructor and Description |
---|
RestSockJsProxyHandler(io.vertx.core.Vertx vertx,
io.vertx.ext.web.handler.sockjs.SockJSSocket sock,
IRestCallHandler proxy,
IRestBusHandler restbus) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
handle(io.vertx.core.parsetools.JsonEvent jsEv) |
void |
registerHandler(RestRequestWithId request) |
void |
sendEvent(RestRequestWithId request) |
void |
sendFault(java.util.Optional<java.lang.String> id,
java.lang.Throwable e) |
void |
sendResponse(java.util.Optional<java.lang.String> id,
RestResponse value) |
void |
unregisterHandler(java.lang.String path) |
public RestSockJsProxyHandler(io.vertx.core.Vertx vertx, io.vertx.ext.web.handler.sockjs.SockJSSocket sock, IRestCallHandler proxy, IRestBusHandler restbus)
public void handle(io.vertx.core.parsetools.JsonEvent jsEv)
handle
in interface io.vertx.core.Handler<io.vertx.core.parsetools.JsonEvent>
public void sendResponse(java.util.Optional<java.lang.String> id, RestResponse value)
public void sendFault(java.util.Optional<java.lang.String> id, java.lang.Throwable e)
public void unregisterHandler(java.lang.String path)
public void close()
public void registerHandler(RestRequestWithId request)
public void sendEvent(RestRequestWithId request)
Copyright © 2021. All Rights Reserved.