Top Fields Constructors Methods
io.undertow.websockets.client

public abstract Class WebSocketClientHandshake

extends Object
Class Inheritance
Known Direct Subclasses
io.undertow.websockets.client.WebSocket13ClientHandshake
Imports
io.undertow.websockets.core.WebSocketChannel, .WebSocketVersion, io.undertow.websockets.extensions.ExtensionHandshake, org.xnio.OptionMap, .StreamConnection, io.undertow.connector.ByteBufferPool, org.xnio.http.ExtendedHandshakeChecker, java.net.URI, java.util.List, .Map, .Set

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
protected final URI

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static WebSocketClientHandshake
create(final WebSocketVersion version, final URI uri)

public static WebSocketClientHandshake
create(final WebSocketVersion version, final URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions)

public abstract WebSocketChannel
createChannel(final StreamConnection channel, final String wsUri, final ByteBufferPool bufferPool, OptionMap options)

public abstract Map<String, String>
public abstract ExtendedHandshakeChecker
handshakeChecker(final URI uri, final Map<String, List<String>> requestHeaders)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

urlback to summary
protected final URI url

Constructor Detail

WebSocketClientHandshakeback to summary
public WebSocketClientHandshake(final URI url)

Method Detail

createback to summary
public static WebSocketClientHandshake create(final WebSocketVersion version, final URI uri)
createback to summary
public static WebSocketClientHandshake create(final WebSocketVersion version, final URI uri, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> extensions)
createChannelback to summary
public abstract WebSocketChannel createChannel(final StreamConnection channel, final String wsUri, final ByteBufferPool bufferPool, OptionMap options)
createHeadersback to summary
public abstract Map<String, String> createHeaders()
handshakeCheckerback to summary
public abstract ExtendedHandshakeChecker handshakeChecker(final URI uri, final Map<String, List<String>> requestHeaders)