public final class JsrHybi08Handshake
extends io.undertow.websockets.core.protocol.version08.Hybi08Handshake
Hybi08Handshake sub-class which takes care of match against the ServerEndpointConfig and
stored the config in the attributes for later usage.| Constructor and Description |
|---|
JsrHybi08Handshake(ConfiguredServerEndpoint config) |
| Modifier and Type | Method and 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) |
handshakeInternal, solvepublic JsrHybi08Handshake(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.version08.Hybi08Handshakepublic boolean matches(io.undertow.websockets.spi.WebSocketHttpExchange exchange)
matches in class io.undertow.websockets.core.protocol.version07.Hybi07HandshakeCopyright © 2017. All rights reserved.