public final class JsrHybi07Handshake
extends io.undertow.websockets.core.protocol.version07.Hybi07Handshake
Hybi07Handshake
sub-class which takes care of match against the ServerEndpointConfig
and
stored the config in the attributes for later usage.Constructor and Description |
---|
JsrHybi07Handshake(ConfiguredServerEndpoint config) |
Modifier and Type | Method and Description |
---|---|
io.undertow.websockets.core.WebSocketChannel |
createChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
org.xnio.StreamConnection c,
io.undertow.connector.ByteBufferPool buffers) |
boolean |
matches(io.undertow.websockets.spi.WebSocketHttpExchange exchange) |
protected String |
supportedSubprotols(String[] requestedSubprotocolArray) |
protected void |
upgradeChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
byte[] data) |
handshakeInternal, solve
public JsrHybi07Handshake(ConfiguredServerEndpoint config)
protected void upgradeChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange, byte[] data)
upgradeChannel
in class io.undertow.websockets.core.protocol.Handshake
public io.undertow.websockets.core.WebSocketChannel createChannel(io.undertow.websockets.spi.WebSocketHttpExchange exchange, org.xnio.StreamConnection c, io.undertow.connector.ByteBufferPool buffers)
createChannel
in class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
public boolean matches(io.undertow.websockets.spi.WebSocketHttpExchange exchange)
matches
in class io.undertow.websockets.core.protocol.version07.Hybi07Handshake
Copyright © 2017. All rights reserved.