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

public Class WebSocket13Channel

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

A WebSocketChannel that handles version 13
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
WebSocket13Channel(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

WebSocket13Channelback to summary
public WebSocket13Channel(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