public class RestSockJsProxyHandler
extends java.lang.Object
implements org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer>
Constructor and Description |
---|
RestSockJsProxyHandler(org.vertx.java.core.Vertx vertx,
org.vertx.java.core.sockjs.SockJSSocket sock,
IRestCallHandler proxy,
IRestBusHandler restbus) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
handle(org.vertx.java.core.buffer.Buffer data) |
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(org.vertx.java.core.Vertx vertx, org.vertx.java.core.sockjs.SockJSSocket sock, IRestCallHandler proxy, IRestBusHandler restbus)
public void handle(org.vertx.java.core.buffer.Buffer data)
handle
in interface org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer>
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.