Package io.undertow.websockets.client
Class WebSocketClientHandshake
- java.lang.Object
-
- io.undertow.websockets.client.WebSocketClientHandshake
-
- Direct Known Subclasses:
WebSocket13ClientHandshake
public abstract class WebSocketClientHandshake extends Object
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description WebSocketClientHandshake(URI url)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static WebSocketClientHandshakecreate(WebSocketVersion version, URI uri)static WebSocketClientHandshakecreate(WebSocketVersion version, URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions)abstract WebSocketChannelcreateChannel(org.xnio.StreamConnection channel, String wsUri, ByteBufferPool bufferPool, org.xnio.OptionMap options)abstract Map<String,String>createHeaders()abstract org.xnio.http.ExtendedHandshakeCheckerhandshakeChecker(URI uri, Map<String,List<String>> requestHeaders)
-
-
-
Field Detail
-
url
protected final URI url
-
-
Constructor Detail
-
WebSocketClientHandshake
public WebSocketClientHandshake(URI url)
-
-
Method Detail
-
create
public static WebSocketClientHandshake create(WebSocketVersion version, URI uri)
-
create
public static WebSocketClientHandshake create(WebSocketVersion version, URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions)
-
createChannel
public abstract WebSocketChannel createChannel(org.xnio.StreamConnection channel, String wsUri, ByteBufferPool bufferPool, org.xnio.OptionMap options)
-
-