Modifier and Type | Method and Description |
---|---|
WebSocketVersion |
WebSocketClient.ConnectionBuilder.getVersion() |
WebSocketVersion |
WebSocket13ClientHandshake.getVersion() |
Modifier and Type | Method and Description |
---|---|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
ByteBufferPool bufferPool,
OptionMap optionMap,
URI uri,
WebSocketVersion version)
Deprecated.
|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
ByteBufferPool bufferPool,
OptionMap optionMap,
URI uri,
WebSocketVersion version,
WebSocketClientNegotiation clientNegotiation)
Deprecated.
|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
XnioSsl ssl,
ByteBufferPool bufferPool,
OptionMap optionMap,
InetSocketAddress bindAddress,
URI uri,
WebSocketVersion version,
WebSocketClientNegotiation clientNegotiation,
Set<ExtensionHandshake> clientExtensions)
Deprecated.
|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
XnioSsl ssl,
ByteBufferPool bufferPool,
OptionMap optionMap,
URI uri,
WebSocketVersion version)
Deprecated.
|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
XnioSsl ssl,
ByteBufferPool bufferPool,
OptionMap optionMap,
URI uri,
WebSocketVersion version,
WebSocketClientNegotiation clientNegotiation)
Deprecated.
|
static IoFuture<WebSocketChannel> |
WebSocketClient.connect(XnioWorker worker,
XnioSsl ssl,
ByteBufferPool bufferPool,
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(StreamConnection connectedStreamChannel,
ByteBufferPool bufferPool,
WebSocketVersion version,
String wsUrl,
String subProtocol,
boolean client,
boolean extensionsSupported,
ExtensionFunction extensionFunction,
Set<WebSocketChannel> peerConnections,
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 © 2019 JBoss by Red Hat. All rights reserved.