| Package | Description |
|---|---|
| io.undertow.websockets | |
| io.undertow.websockets.client | |
| io.undertow.websockets.core.protocol | |
| io.undertow.websockets.extensions | |
| io.undertow.websockets.jsr |
| Modifier and Type | Method and Description |
|---|---|
WebSocketProtocolHandshakeHandler | WebSocketProtocolHandshakeHandler.addExtension(ExtensionHandshake extension) Add a new WebSocket Extension into the handshakes defined in this handler. |
| Modifier and Type | Method and Description |
|---|---|
Set<ExtensionHandshake> | WebSocketClient.ConnectionBuilder.getClientExtensions() |
| Modifier and Type | Method and Description |
|---|---|
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, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions) Deprecated. |
static WebSocketClientHandshake | WebSocketClientHandshake.create(WebSocketVersion version, URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions) |
WebSocketClient.ConnectionBuilder | WebSocketClient.ConnectionBuilder.setClientExtensions(Set<ExtensionHandshake> clientExtensions) |
| Constructor and Description |
|---|
WebSocket13ClientHandshake(URI url, WebSocketClientNegotiation negotiation, Set<ExtensionHandshake> extensions) |
| Modifier and Type | Field and Description |
|---|---|
protected Set<ExtensionHandshake> | Handshake.availableExtensions |
| Modifier and Type | Method and Description |
|---|---|
void | Handshake.addExtension(ExtensionHandshake extension) Add a new WebSocket Extension handshake to the list of available extensions. |
| Modifier and Type | Class and Description |
|---|---|
class | PerMessageDeflateHandshake Implementation of permessage-deflate WebSocket Extension handshake. |
| Modifier and Type | Method and Description |
|---|---|
boolean | PerMessageDeflateHandshake.isIncompatible(List<ExtensionHandshake> extensions) |
boolean | ExtensionHandshake.isIncompatible(List<ExtensionHandshake> extensions) Validate if current extension is compatible with previously negotiated in the server side. |
| Modifier and Type | Method and Description |
|---|---|
List<ExtensionHandshake> | WebSocketDeploymentInfo.getExtensions() |
| Modifier and Type | Method and Description |
|---|---|
WebSocketDeploymentInfo | WebSocketDeploymentInfo.addExtension(ExtensionHandshake extension) Add a new WebSocket Extension into this deployment info. |
| Modifier and Type | Method and Description |
|---|---|
WebSocketDeploymentInfo | WebSocketDeploymentInfo.addExtensions(Collection<ExtensionHandshake> extensions) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.