Class Hybi08Handshake
java.lang.Object
io.undertow.websockets.core.protocol.Handshake
io.undertow.websockets.core.protocol.version07.Hybi07Handshake
io.undertow.websockets.core.protocol.version08.Hybi08Handshake
The handshaking protocol implementation for Hybi-07, which is identical to Hybi-08, and thus is just a thin
subclass of
Hybi07Handshake
that sets a different version number.- Author:
- Mike Brock
-
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
Methods inherited from class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
handshakeInternal, 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
-
Hybi08Handshake
public Hybi08Handshake() -
Hybi08Handshake
-
-
Method Details
-
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
-