WebSocket13ClientHandshake
public abstract class WebSocketClientHandshake extends Object
Constructor | Description |
---|---|
WebSocketClientHandshake(URI url) |
Modifier and Type | Method | Description |
---|---|---|
static WebSocketClientHandshake |
create(WebSocketVersion version,
URI uri) |
|
static WebSocketClientHandshake |
create(WebSocketVersion version,
URI uri,
WebSocketClientNegotiation clientNegotiation,
Set<ExtensionHandshake> extensions) |
|
abstract WebSocketChannel |
createChannel(org.xnio.StreamConnection channel,
String wsUri,
ByteBufferPool bufferPool,
org.xnio.OptionMap options) |
|
abstract Map<String,String> |
createHeaders() |
|
abstract org.xnio.http.ExtendedHandshakeChecker |
handshakeChecker(URI uri,
Map<String,List<String>> requestHeaders) |
protected final URI url
public WebSocketClientHandshake(URI url)
public static WebSocketClientHandshake create(WebSocketVersion version, URI uri)
public static WebSocketClientHandshake create(WebSocketVersion version, URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions)
public abstract WebSocketChannel createChannel(org.xnio.StreamConnection channel, String wsUri, ByteBufferPool bufferPool, org.xnio.OptionMap options)
Copyright © 2018. All rights reserved.