Class JsrHybi07Handshake
java.lang.Object
io.undertow.websockets.core.protocol.Handshake
io.undertow.websockets.core.protocol.version07.Hybi07Handshake
io.undertow.websockets.jsr.handshake.JsrHybi07Handshake
Hybi07Handshake sub-class which takes care of match against the ServerEndpointConfig and
stored the config in the attributes for later usage.- Author:
- Norman Maurer
-
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 c, ByteBufferPool buffers) booleanmatches(WebSocketHttpExchange exchange) protected StringsupportedSubprotols(String[] requestedSubprotocolArray) protected voidupgradeChannel(WebSocketHttpExchange exchange, byte[] data) Methods inherited from class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
handshakeInternal, solveMethods inherited from class io.undertow.websockets.core.protocol.Handshake
addExtension, getHashAlgorithm, getMagicNumber, getVersion, getWebSocketLocation, handshake, initExtensions, performUpgrade, performUpgrade, selectedExtension, selectExtensions, selectSubprotocol
-
Constructor Details
-
JsrHybi07Handshake
-
-
Method Details
-
upgradeChannel
- Overrides:
upgradeChannelin classHandshake
-
createChannel
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection c, ByteBufferPool buffers) - Overrides:
createChannelin classHybi07Handshake
-
matches
- Overrides:
matchesin classHybi07Handshake
-
supportedSubprotols
- Overrides:
supportedSubprotolsin classHandshake
-