Top Description Fields Constructors Methods
io.undertow.websockets.core.protocol.version13

public Class Hybi13Handshake

extends Hybi07Handshake
Class Inheritance
Imports
io.undertow.util.Headers, io.undertow.websockets.core.WebSocketChannel, .WebSocketVersion, io.undertow.websockets.core.protocol.version07.Hybi07Handshake, io.undertow.websockets.extensions.CompositeExtensionFunction, .ExtensionFunction, io.undertow.websockets.spi.WebSocketHttpExchange, org.xnio.IoUtils, .StreamConnection, io.undertow.connector.ByteBufferPool, java.security.NoSuchAlgorithmException, java.util.Collections, .List, .Set

The handshaking protocol implementation for Hybi-13.
Authors
Mike Brock, Stuart Douglas

Field Summary

Inherited from io.undertow.websockets.core.protocol.version07.Hybi07Handshake:
MAGIC_NUMBER

Constructor Summary

AccessConstructor and Description
public
public
Hybi13Handshake(Set<String> subprotocols, boolean allowExtensions)

Method Summary

Modifier and TypeMethod and Description
public WebSocketChannel
protected void
Inherited from io.undertow.websockets.core.protocol.version07.Hybi07Handshake:
matchessolve

Constructor Detail

Hybi13Handshakeback to summary
public Hybi13Handshake()
Hybi13Handshakeback to summary
public Hybi13Handshake(Set<String> subprotocols, boolean allowExtensions)

Method Detail

createChannelback to summary
public WebSocketChannel createChannel(WebSocketHttpExchange exchange, final StreamConnection channel, final ByteBufferPool pool)

Overrides io.undertow.websockets.core.protocol.version07.Hybi07Handshake.createChannel.

Doc from io.undertow.websockets.core.protocol.Handshake.createChannel.

Create the WebSocketChannel from the WebSocketHttpExchange

Annotations
@Override
handshakeInternalback to summary
protected void handshakeInternal(final WebSocketHttpExchange exchange)

Overrides io.undertow.websockets.core.protocol.version07.Hybi07Handshake.handshakeInternal.

Annotations
@Override