Modifier and Type | Method and Description |
---|---|
WebSocketVersion | WebSocket13ClientHandshake.getVersion() |
WebSocketVersion | WebSocketClient.ConnectionBuilder.getVersion() |
Modifier and Type | Method and Description |
---|---|
static org.xnio.IoFuture<WebSocketChannel> | WebSocketClient.connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version) Deprecated. |
static org.xnio.IoFuture<WebSocketChannel> | WebSocketClient.connect(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, org.xnio.OptionMap optionMap, URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation) Deprecated. |
static org.xnio.IoFuture<WebSocketChannel> | WebSocketClient.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> | WebSocketClient.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> | WebSocketClient.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> | WebSocketClient.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 WebSocketClientHandshake | WebSocketClientHandshake.create(WebSocketVersion version, URI uri) |
static WebSocketClientHandshake | WebSocketClientHandshake.create(WebSocketVersion version, URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions) |
WebSocketClient.ConnectionBuilder | WebSocketClient.ConnectionBuilder.setVersion(WebSocketVersion version) |
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<WebSocketVersion> | WebSocketVersion.ATTACHMENT_KEY |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion | WebSocketChannel.getVersion() Return the WebSocketVersion which is used |
static WebSocketVersion | WebSocketVersion.valueOf(String name) Returns the enum constant of this type with the specified name. |
static WebSocketVersion[] | WebSocketVersion.values() Returns an array containing the constants of this enum type, in the order they are declared. |
Constructor and Description |
---|
WebSocketChannel(org.xnio.StreamConnection connectedStreamChannel, ByteBufferPool bufferPool, WebSocketVersion version, String wsUrl, String subProtocol, boolean client, boolean extensionsSupported, ExtensionFunction extensionFunction, Set<WebSocketChannel> peerConnections, org.xnio.OptionMap options) Create a new WebSocketChannel 8 |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion | Handshake.getVersion() Return the version for which the Handshake can be used. |
Constructor and Description |
---|
Handshake(WebSocketVersion version, String hashAlgorithm, String magicNumber, Set<String> subprotocols) |
Constructor and Description |
---|
Hybi07Handshake(WebSocketVersion version, Set<String> subprotocols, boolean allowExtensions) |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion | WebSocket08Channel.getVersion() |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion | WebSocket13Channel.getVersion() |
Copyright © 2020 JBoss by Red Hat. All rights reserved.