public final class JsrHybi07Handshake
extends io.undertow.websockets.core.protocol.version07.Hybi07Handshake
Hybi07Handshake sub-class which takes care of match against the ServerEndpointConfig and
stored the config in the attributes for later usage.| Constructor | Description |
|---|---|
JsrHybi07Handshake(ConfiguredServerEndpoint config) |
| Modifier and Type | Method | Description |
|---|---|---|
io.undertow.websockets.core.WebSocketChannel |
createChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
org.xnio.StreamConnection c,
io.undertow.connector.ByteBufferPool buffers) |
|
boolean |
matches(io.undertow.websockets.spi.WebSocketHttpExchange exchange) |
|
protected String |
supportedSubprotols(String[] requestedSubprotocolArray) |
|
protected void |
upgradeChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
byte[] data) |
addExtension, getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, initExtensions, performUpgrade, performUpgrade, selectedExtension, selectExtensions, selectSubprotocolpublic JsrHybi07Handshake(ConfiguredServerEndpoint config)
protected void upgradeChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
byte[] data)
upgradeChannel in class io.undertow.websockets.core.protocol.Handshakepublic io.undertow.websockets.core.WebSocketChannel createChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
org.xnio.StreamConnection c,
io.undertow.connector.ByteBufferPool buffers)
createChannel in class io.undertow.websockets.core.protocol.version07.Hybi07Handshakepublic boolean matches(io.undertow.websockets.spi.WebSocketHttpExchange exchange)
matches in class io.undertow.websockets.core.protocol.version07.Hybi07HandshakeCopyright © 2018. All rights reserved.