public class WebSocketClient extends Object
Modifier and Type | Class and Description |
---|---|
static class | WebSocketClient.ConnectionBuilder |
Modifier and Type | Field and Description |
---|---|
static String | BIND_PROPERTY |
Modifier and Type | Method and Description |
---|---|
static 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. |
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. |
public static final String BIND_PROPERTY
@Deprecated public static org.xnio.IoFuture<WebSocketChannel> connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, 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, URI uri, WebSocketVersion version)
@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 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 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 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)
public static WebSocketClient.ConnectionBuilder connectionBuilder(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, URI uri)
worker
- The XnioWorker to use for the connectionbufferPool
- The buffer pooluri
- The connection URICopyright © 2017 JBoss by Red Hat. All rights reserved.