Modifier and Type | Method and Description |
---|---|
WebSocketVersion |
WebSocket13ClientHandshake.getVersion() |
Modifier and Type | Method and Description |
---|---|
static org.xnio.IoFuture<WebSocketChannel> |
WebSocketClient.connect(org.xnio.XnioWorker worker,
org.xnio.Pool<ByteBuffer> bufferPool,
org.xnio.OptionMap optionMap,
URI uri,
WebSocketVersion version) |
static WebSocketClientHandshake |
WebSocketClientHandshake.create(WebSocketVersion version,
URI uri) |
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,
org.xnio.Pool<ByteBuffer> bufferPool,
WebSocketVersion version,
String wsUrl,
Set<String> subProtocols,
boolean client,
boolean extensionsSupported)
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 © 2013 JBoss by Red Hat. All rights reserved.