public class Hybi13Handshake extends Hybi07Handshake
allowExtensions, MAGIC_NUMBERsubprotocols| Constructor and Description |
|---|
Hybi13Handshake() |
Hybi13Handshake(Set<String> subprotocols,
boolean allowExtensions) |
| Modifier and Type | Method and Description |
|---|---|
WebSocketChannel |
createChannel(WebSocketHttpExchange exchange,
org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> pool)
Create the
WebSocketChannel from the HttpServerExchange |
protected void |
handshakeInternal(WebSocketHttpExchange exchange) |
matches, solvegetHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, performUpgrade, performUpgrade, selectSubprotocol, supportedSubprotols, upgradeChannelprotected void handshakeInternal(WebSocketHttpExchange exchange)
handshakeInternal in class Hybi07Handshakepublic WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> pool)
HandshakeWebSocketChannel from the HttpServerExchangecreateChannel in class Hybi07HandshakeCopyright © 2013 JBoss by Red Hat. All Rights Reserved.