public class WebSocketClient
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
WebSocketClient.ConnectionBuilder |
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BIND_PROPERTY |
Modifier and Type | Method | Description |
---|---|---|
static org.xnio.IoFuture<WebSocketChannel> |
connect(org.xnio.XnioWorker worker,
ByteBufferPool bufferPool,
org.xnio.OptionMap optionMap,
java.net.URI uri,
WebSocketVersion version) |
Deprecated.
|
static org.xnio.IoFuture<WebSocketChannel> |
connect(org.xnio.XnioWorker worker,
ByteBufferPool bufferPool,
org.xnio.OptionMap optionMap,
java.net.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,
java.net.InetSocketAddress bindAddress,
java.net.URI uri,
WebSocketVersion version,
WebSocketClientNegotiation clientNegotiation,
java.util.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,
java.net.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,
java.net.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,
java.net.URI uri,
WebSocketVersion version,
WebSocketClientNegotiation clientNegotiation,
java.util.Set<ExtensionHandshake> clientExtensions) |
Deprecated.
|
static WebSocketClient.ConnectionBuilder |
connectionBuilder(org.xnio.XnioWorker worker,
ByteBufferPool bufferPool,
java.net.URI uri) |
Creates a new connection builder that can be used to create a web socket connection.
|
public static final java.lang.String BIND_PROPERTY
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.URI uri, WebSocketVersion version)
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.URI uri, WebSocketVersion version)
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, java.util.Set<ExtensionHandshake> clientExtensions)
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, java.net.InetSocketAddress bindAddress, java.net.URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, java.util.Set<ExtensionHandshake> clientExtensions)
public static WebSocketClient.ConnectionBuilder connectionBuilder(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, java.net.URI uri)
worker
- The XnioWorker to use for the connectionbufferPool
- The buffer pooluri
- The connection URICopyright © 2018. All rights reserved.