public class Hybi08Handshake extends Hybi07Handshake
Hybi07Handshake
that sets a different version number.allowExtensions, MAGIC_NUMBER
subprotocols
Constructor and Description |
---|
Hybi08Handshake() |
Hybi08Handshake(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 |
handshakeInternal, matches, solve
getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, performUpgrade, performUpgrade, selectSubprotocol, supportedSubprotols, upgradeChannel
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.