public class Hybi08Handshake extends Hybi07Handshake
Hybi07Handshake
that sets a different version number.MAGIC_NUMBER
allowExtensions, availableExtensions, 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, ByteBufferPool pool) Create the WebSocketChannel from the WebSocketHttpExchange |
handshakeInternal, matches, solve
addExtension, getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, initExtensions, performUpgrade, performUpgrade, selectedExtension, selectExtensions, selectSubprotocol, supportedSubprotols, upgradeChannel
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool)
Handshake
WebSocketChannel
from the WebSocketHttpExchange
createChannel
in class Hybi07Handshake
Copyright © 2017 JBoss by Red Hat. All rights reserved.