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(StreamConnection channel,
String wsUri,
ByteBufferPool bufferPool,
OptionMap options) |
Map<String,String> |
createHeaders() |
protected String |
createSecKey() |
WebSocketVersion |
getVersion() |
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(StreamConnection channel, String wsUri, ByteBufferPool bufferPool, OptionMap options)
createChannel
in class WebSocketClientHandshake
public Map<String,String> createHeaders()
createHeaders
in class WebSocketClientHandshake
protected String createSecKey()
public ExtendedHandshakeChecker handshakeChecker(URI uri, Map<String,List<String>> requestHeaders)
handshakeChecker
in class WebSocketClientHandshake
public WebSocketVersion getVersion()
Copyright © 2016 JBoss by Red Hat. All rights reserved.