Modifier and Type | Field | Description |
---|---|---|
protected ExtensionFunction |
WebSocketChannel.extensionFunction |
Modifier and Type | Method | Description |
---|---|---|
ExtensionFunction |
WebSocketChannel.getExtensionFunction() |
Constructor | Description |
---|---|
WebSocketChannel(org.xnio.StreamConnection connectedStreamChannel,
ByteBufferPool bufferPool,
WebSocketVersion version,
java.lang.String wsUrl,
java.lang.String subProtocol,
boolean client,
boolean extensionsSupported,
ExtensionFunction extensionFunction,
java.util.Set<WebSocketChannel> peerConnections,
org.xnio.OptionMap options) |
Create a new
WebSocketChannel
8 |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<ExtensionFunction> |
Handshake.initExtensions(WebSocketHttpExchange exchange) |
Create the
ExtensionFunction list associated with the negotiated extensions defined in the exchange's response. |
Modifier and Type | Field | Description |
---|---|---|
protected ExtensionFunction |
WebSocket07FrameSinkChannel.extensionFunction |
Constructor | Description |
---|---|
WebSocket07Channel(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
java.lang.String wsUrl,
java.lang.String subProtocol,
boolean client,
boolean allowExtensions,
ExtensionFunction extensionFunction,
java.util.Set<WebSocketChannel> openConnections,
org.xnio.OptionMap options) |
Create a new
WebSocket07Channel |
Constructor | Description |
---|---|
WebSocket08Channel(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
java.lang.String wsUrl,
java.lang.String subProtocols,
boolean client,
boolean allowExtensions,
ExtensionFunction extensionFunction,
java.util.Set<WebSocketChannel> openConnections,
org.xnio.OptionMap options) |
Constructor | Description |
---|---|
WebSocket13Channel(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
java.lang.String wsUrl,
java.lang.String subProtocols,
boolean client,
boolean allowExtensions,
ExtensionFunction extensionFunction,
java.util.Set<WebSocketChannel> openConnections,
org.xnio.OptionMap options) |
Modifier and Type | Class | Description |
---|---|---|
class |
CompositeExtensionFunction |
|
class |
NoopExtensionFunction |
|
class |
PerMessageDeflateFunction |
Implementation of
permessage-deflate WebSocket Extension. |
Modifier and Type | Field | Description |
---|---|---|
static ExtensionFunction |
NoopExtensionFunction.INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
static ExtensionFunction |
CompositeExtensionFunction.compose(ExtensionFunction... functions) |
|
static ExtensionFunction |
CompositeExtensionFunction.compose(java.util.List<ExtensionFunction> functions) |
|
ExtensionFunction |
ExtensionHandshake.create() |
Create a new instance of the
ExtensionFunction associated to this WebSocket Extension. |
ExtensionFunction |
PerMessageDeflateHandshake.create() |
Modifier and Type | Method | Description |
---|---|---|
static ExtensionFunction |
CompositeExtensionFunction.compose(ExtensionFunction... functions) |
Modifier and Type | Method | Description |
---|---|---|
static ExtensionFunction |
CompositeExtensionFunction.compose(java.util.List<ExtensionFunction> functions) |
Copyright © 2018. All rights reserved.