public class Hybi13Handshake extends Hybi07Handshake
allowExtensions, availableExtensions, subprotocols
MAGIC_NUMBER
Constructor | Description |
---|---|
Hybi13Handshake() |
|
Hybi13Handshake(Set<String> subprotocols,
boolean allowExtensions) |
Modifier and Type | Method | Description |
---|---|---|
WebSocketChannel |
createChannel(WebSocketHttpExchange exchange,
org.xnio.StreamConnection channel,
ByteBufferPool pool) |
Create the
WebSocketChannel from the WebSocketHttpExchange |
protected void |
handshakeInternal(WebSocketHttpExchange exchange) |
addExtension, getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, initExtensions, performUpgrade, performUpgrade, selectedExtension, selectExtensions, selectSubprotocol, supportedSubprotols, upgradeChannel
matches, solve
protected void handshakeInternal(WebSocketHttpExchange exchange)
handshakeInternal
in class Hybi07Handshake
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool)
Handshake
WebSocketChannel
from the WebSocketHttpExchange
createChannel
in class Hybi07Handshake
Copyright © 2018. All rights reserved.