public class SockJsProvider
extends java.lang.Object
Constructor and Description |
---|
SockJsProvider(io.vertx.core.http.HttpClient client,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
void |
registerHandler(java.lang.String credentials,
java.lang.String id,
io.vertx.core.Handler<io.vertx.core.json.JsonObject> handler) |
void |
registerResponseHandler(java.lang.String id,
io.vertx.core.Handler<io.vertx.core.json.JsonObject> handler) |
void |
unregisterHandler(java.lang.String credentials,
java.lang.String id) |
void |
unregisterResponseHandler(java.lang.String id) |
void |
ws(io.vertx.core.Handler<io.vertx.core.http.WebSocket> handler) |
public SockJsProvider(io.vertx.core.http.HttpClient client, java.lang.String uri)
public void ws(io.vertx.core.Handler<io.vertx.core.http.WebSocket> handler)
public void registerResponseHandler(java.lang.String id, io.vertx.core.Handler<io.vertx.core.json.JsonObject> handler)
public void unregisterResponseHandler(java.lang.String id)
public void registerHandler(java.lang.String credentials, java.lang.String id, io.vertx.core.Handler<io.vertx.core.json.JsonObject> handler)
public void unregisterHandler(java.lang.String credentials, java.lang.String id)
Copyright © 2021. All Rights Reserved.