Class Hybi13Handshake
java.lang.Object
io.undertow.websockets.core.protocol.Handshake
io.undertow.websockets.core.protocol.version07.Hybi07Handshake
io.undertow.websockets.core.protocol.version13.Hybi13Handshake
The handshaking protocol implementation for Hybi-13.
- Author:
- Mike Brock, Stuart Douglas
-
Field Summary
Fields inherited from class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
MAGIC_NUMBER
Fields inherited from class io.undertow.websockets.core.protocol.Handshake
allowExtensions, availableExtensions, subprotocols
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChannel
(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) Create theWebSocketChannel
from theWebSocketHttpExchange
protected void
handshakeInternal
(WebSocketHttpExchange exchange) Methods inherited from class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
matches, solve
Methods inherited from class io.undertow.websockets.core.protocol.Handshake
addExtension, getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, initExtensions, performUpgrade, performUpgrade, selectedExtension, selectExtensions, selectSubprotocol, supportedSubprotols, upgradeChannel
-
Constructor Details
-
Hybi13Handshake
public Hybi13Handshake() -
Hybi13Handshake
-
-
Method Details
-
handshakeInternal
- Overrides:
handshakeInternal
in classHybi07Handshake
-
createChannel
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) Description copied from class:Handshake
Create theWebSocketChannel
from theWebSocketHttpExchange
- Overrides:
createChannel
in classHybi07Handshake
-