public class Hybi13Handshake extends Hybi07Handshake
allowExtensions, MAGIC_NUMBER
subprotocols
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 WebSocketHttpExchange |
protected void |
handshakeInternal(WebSocketHttpExchange exchange) |
matches, solve
getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, performUpgrade, performUpgrade, selectSubprotocol, supportedSubprotols, upgradeChannel
protected void handshakeInternal(WebSocketHttpExchange exchange)
handshakeInternal
in class Hybi07Handshake
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> pool)
Handshake
WebSocketChannel
from the WebSocketHttpExchange
createChannel
in class Hybi07Handshake
Copyright © 2014 JBoss by Red Hat. All rights reserved.