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
-
public class Hybi08Handshake extends Hybi07Handshake
The handshaking protocol implementation for Hybi-07, which is identical to Hybi-08, and thus is just a thin subclass ofHybi07Handshakethat 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 Constructor Description Hybi08Handshake()Hybi08Handshake(java.util.Set<java.lang.String> subprotocols, boolean allowExtensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSocketChannelcreateChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool)Create theWebSocketChannelfrom 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
-
-
-
-
Method Detail
-
createChannel
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool)
Description copied from class:HandshakeCreate theWebSocketChannelfrom theWebSocketHttpExchange- Overrides:
createChannelin classHybi07Handshake
-
-