public class WebSocket13ClientHandshake extends WebSocketClientHandshake
Modifier and Type | Field and Description |
---|---|
static String | MAGIC_NUMBER |
url
Constructor and Description |
---|
WebSocket13ClientHandshake(URI url) |
WebSocket13ClientHandshake(URI url, WebSocketClientNegotiation negotiation, Set<ExtensionHandshake> extensions) |
Modifier and Type | Method and Description |
---|---|
WebSocketChannel | createChannel(org.xnio.StreamConnection channel, String wsUri, ByteBufferPool bufferPool, org.xnio.OptionMap options) |
Map<String,String> | createHeaders() |
protected String | createSecKey() |
WebSocketVersion | getVersion() |
org.xnio.http.ExtendedHandshakeChecker | handshakeChecker(URI uri, Map<String,List<String>> requestHeaders) |
protected String | solve(String nonceBase64) |
create, create
public static final String MAGIC_NUMBER
public WebSocket13ClientHandshake(URI url, WebSocketClientNegotiation negotiation, Set<ExtensionHandshake> extensions)
public WebSocket13ClientHandshake(URI url)
public WebSocketChannel createChannel(org.xnio.StreamConnection channel, String wsUri, ByteBufferPool bufferPool, org.xnio.OptionMap options)
createChannel
in class WebSocketClientHandshake
public Map<String,String> createHeaders()
createHeaders
in class WebSocketClientHandshake
protected String createSecKey()
public org.xnio.http.ExtendedHandshakeChecker handshakeChecker(URI uri, Map<String,List<String>> requestHeaders)
handshakeChecker
in class WebSocketClientHandshake
public WebSocketVersion getVersion()
Copyright © 2020 JBoss by Red Hat. All rights reserved.