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_NUMBERFields 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 theWebSocketChannelfrom theWebSocketHttpExchangeMethods inherited from class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
handshakeInternal, matches, solveMethods 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:HandshakeCreate theWebSocketChannelfrom theWebSocketHttpExchange- Overrides:
createChannelin classHybi07Handshake
-