public class WebSocketProxyImpl extends java.lang.Object implements WebSocketProxy
Constructor and Description |
---|
WebSocketProxyImpl(java.lang.String deploymentID,
io.vertx.core.http.HttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
void |
handle(io.vertx.core.http.ServerWebSocket upstreamWebSocket) |
WebSocketProxy |
originSelector(java.util.function.Function<io.vertx.core.http.ServerWebSocket,io.vertx.core.Future<CloseableSession>> selector) |
WebSocketProxy |
target(int port,
java.lang.String host) |
WebSocketProxy |
target(io.vertx.core.net.SocketAddress address) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reverseProxy
public WebSocketProxyImpl(java.lang.String deploymentID, io.vertx.core.http.HttpClient httpClient)
public WebSocketProxy target(io.vertx.core.net.SocketAddress address)
target
in interface WebSocketProxy
public WebSocketProxy target(int port, java.lang.String host)
target
in interface WebSocketProxy
public WebSocketProxy originSelector(java.util.function.Function<io.vertx.core.http.ServerWebSocket,io.vertx.core.Future<CloseableSession>> selector)
originSelector
in interface WebSocketProxy
public void handle(io.vertx.core.http.ServerWebSocket upstreamWebSocket)
handle
in interface io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>
handle
in interface WebSocketProxy
Copyright © 2023. All Rights Reserved.