Package io.undertow.websockets.client
Class WebSocketClient
java.lang.Object
io.undertow.websockets.client.WebSocketClient
The Web socket client.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version) Deprecated.static org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation) Deprecated.static org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, InetSocketAddress bindAddress, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions) Deprecated.static org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version) Deprecated.static org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation) Deprecated.static org.xnio.IoFuture<WebSocketChannel>
connect
(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions) Deprecated.connectionBuilder
(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, URI uri) Creates a new connection builder that can be used to create a web socket connection.
-
Field Details
-
BIND_PROPERTY
- See Also:
-
-
Method Details
-
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version) Deprecated. -
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version) Deprecated. -
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation) Deprecated. -
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation) Deprecated. -
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions) Deprecated. -
connect
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, InetSocketAddress bindAddress, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions) Deprecated. -
connectionBuilder
public static WebSocketClient.ConnectionBuilder connectionBuilder(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, URI uri) Creates a new connection builder that can be used to create a web socket connection.- Parameters:
worker
- The XnioWorker to use for the connectionbufferPool
- The buffer pooluri
- The connection URI- Returns:
- The connection builder
-