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

public Class Hybi08Handshake

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, io.undertow.connector.ByteBufferPool, org.xnio.StreamConnection, java.util.Collections, .List, .Set

The handshaking protocol implementation for Hybi-07, which is identical to Hybi-08, and thus is just a thin subclass of Hybi07Handshake that sets a different version number.
Author
Mike Brock

Field Summary

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

Constructor Summary

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

Method Summary

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

Constructor Detail

Hybi08Handshakeback to summary
public Hybi08Handshake()
Hybi08Handshakeback to summary
public Hybi08Handshake(Set<String> subprotocols, boolean allowExtensions)

Method Detail

createChannelback to summary
public WebSocketChannel createChannel(final 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