Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.core.spi.metrics | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientWebSocket
Represents a client-side WebSocket initially not connected.
|
Modifier and Type | Method and Description |
---|---|
default Future<WebSocket> |
WebSocketClient.connect(int port,
String host,
String requestURI)
Like
WebSocketClient.connect(int, String, String, Handler) but returns a Future of the asynchronous result |
default Future<WebSocket> |
ClientWebSocket.connect(int port,
String host,
String requestURI)
Like
ClientWebSocket.connect(int, String, String, Handler) but returns a Future of the asynchronous result |
default Future<WebSocket> |
WebSocketClient.connect(String requestURI)
Like
WebSocketClient.connect(String, Handler) but returns a Future of the asynchronous result |
default Future<WebSocket> |
ClientWebSocket.connect(String requestURI)
Connect this WebSocket at the relative request URI using the default host and port.
|
default Future<WebSocket> |
WebSocketClient.connect(String host,
String requestURI)
Like
WebSocketClient.connect(String, String, Handler) but returns a Future of the asynchronous result |
default Future<WebSocket> |
ClientWebSocket.connect(String host,
String requestURI)
Connect this WebSocket to the host and relative request URI and default port.
|
Future<WebSocket> |
WebSocketClient.connect(WebSocketConnectOptions options)
Like
WebSocketClient.connect(WebSocketConnectOptions, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
ClientWebSocket.connect(WebSocketConnectOptions options)
Like
ClientWebSocket.connect(WebSocketConnectOptions, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
HttpClient.webSocket(int port,
String host,
String requestURI)
Deprecated.
instead use
WebSocketClient.connect(int, String, String) |
Future<WebSocket> |
HttpClient.webSocket(String requestURI)
Deprecated.
instead use
WebSocketClient.connect(int, String, String) |
Future<WebSocket> |
HttpClient.webSocket(String host,
String requestURI)
Deprecated.
instead use
WebSocketClient.connect(int, String, String) |
Future<WebSocket> |
HttpClient.webSocket(WebSocketConnectOptions options)
Deprecated.
instead use
WebSocketClient.connect(WebSocketConnectOptions) |
Future<WebSocket> |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols)
Deprecated.
instead use
WebSocketClient.connect(WebSocketConnectOptions) |
Modifier and Type | Method and Description |
---|---|
default void |
WebSocketClient.connect(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the specified port, host and relative request URI
|
default void |
ClientWebSocket.connect(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the specified port, host and relative request URI
|
default void |
WebSocketClient.connect(String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the default client port, default client host and specified, relative request URI.
|
default void |
ClientWebSocket.connect(String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect this WebSocket at the relative request URI using the default host and port.
|
default void |
WebSocketClient.connect(String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the default client port and specified host and relative request URI.
|
default void |
ClientWebSocket.connect(String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect this WebSocket to the host and relative request URI and default port.
|
void |
WebSocketClient.connect(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
void |
ClientWebSocket.connect(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocket(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Deprecated.
|
void |
HttpClient.webSocket(String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Deprecated.
|
void |
HttpClient.webSocket(String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Deprecated.
|
void |
HttpClient.webSocket(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Deprecated.
|
void |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols,
Handler<AsyncResult<WebSocket>> handler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default W |
HttpClientMetrics.connected(WebSocket webSocket)
Called when a web socket connects.
|
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Copyright © 2024 Eclipse. All rights reserved.