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

public Class WebSocket08Channel

extends WebSocket07Channel
Class Inheritance
Imports
io.undertow.websockets.core.WebSocketChannel, .WebSocketVersion, io.undertow.websockets.core.protocol.version07.WebSocket07Channel, io.undertow.websockets.extensions.ExtensionFunction, org.xnio.OptionMap, .StreamConnection, io.undertow.connector.ByteBufferPool, java.util.Set

io.undertow.websockets.core.WebSocketChannel which is used for WebSocketVersion#V08
Author
Norman Maurer

Field Summary

Inherited from io.undertow.websockets.core.protocol.version07.WebSocket07Channel:
OPCODE_BINARYOPCODE_CLOSEOPCODE_CONTOPCODE_PINGOPCODE_PONGOPCODE_TEXT

Constructor Summary

AccessConstructor and Description
public
WebSocket08Channel(StreamConnection channel, ByteBufferPool bufferPool, String wsUrl, String subProtocols, final boolean client, boolean allowExtensions, final ExtensionFunction extensionFunction, Set<WebSocketChannel> openConnections, OptionMap options)

Method Summary

Modifier and TypeMethod and Description
public WebSocketVersion
Inherited from io.undertow.websockets.core.protocol.version07.WebSocket07Channel:
closeSubChannelscreateStreamSinkChannelmarkReadsBrokenreceiveFrame

Constructor Detail

WebSocket08Channelback to summary
public WebSocket08Channel(StreamConnection channel, ByteBufferPool bufferPool, String wsUrl, String subProtocols, final boolean client, boolean allowExtensions, final ExtensionFunction extensionFunction, Set<WebSocketChannel> openConnections, OptionMap options)

Method Detail

getVersionback to summary
public WebSocketVersion getVersion()

Overrides io.undertow.websockets.core.WebSocketChannel.getVersion.

Doc from io.undertow.websockets.core.WebSocketChannel.getVersion.

Return the WebSocketVersion which is used

Returns:WebSocketVersion

version The WebSocketVersion which is in use

Annotations
@Override