Uses of Interface
io.undertow.websockets.spi.WebSocketHttpExchange
Packages that use WebSocketHttpExchange
Package
Description
-
Uses of WebSocketHttpExchange in io.undertow.websockets
Methods in io.undertow.websockets with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionvoid
WebSocketConnectionCallback.onConnect
(WebSocketHttpExchange exchange, WebSocketChannel channel) Is called once the WebSocket connection is established, which means the handshake was successful. -
Uses of WebSocketHttpExchange in io.undertow.websockets.core.protocol
Methods in io.undertow.websockets.core.protocol with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionabstract WebSocketChannel
Handshake.createChannel
(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) Create theWebSocketChannel
from theWebSocketHttpExchange
protected static String
Handshake.getWebSocketLocation
(WebSocketHttpExchange exchange) Return the full url of the websocket location of the givenWebSocketHttpExchange
final void
Handshake.handshake
(WebSocketHttpExchange exchange) Issue the WebSocket upgradeprotected abstract void
Handshake.handshakeInternal
(WebSocketHttpExchange exchange) protected final List<ExtensionFunction>
Handshake.initExtensions
(WebSocketHttpExchange exchange) Create theExtensionFunction
list associated with the negotiated extensions defined in the exchange's response.abstract boolean
Handshake.matches
(WebSocketHttpExchange exchange) Returntrue
if this implementation can be used to issue a handshake.protected final void
Handshake.performUpgrade
(WebSocketHttpExchange exchange) Perform the upgrade using no payloadprotected final void
Handshake.performUpgrade
(WebSocketHttpExchange exchange, byte[] data) convenience method to perform the upgradeprotected final void
Handshake.selectExtensions
(WebSocketHttpExchange exchange) protected final void
Handshake.selectSubprotocol
(WebSocketHttpExchange exchange) Selects the first matching supported sub protocol and add it the the headers of the exchange.protected void
Handshake.upgradeChannel
(WebSocketHttpExchange exchange, byte[] data) -
Uses of WebSocketHttpExchange in io.undertow.websockets.core.protocol.version07
Methods in io.undertow.websockets.core.protocol.version07 with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionHybi07Handshake.createChannel
(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) protected void
Hybi07Handshake.handshakeInternal
(WebSocketHttpExchange exchange) boolean
Hybi07Handshake.matches
(WebSocketHttpExchange exchange) -
Uses of WebSocketHttpExchange in io.undertow.websockets.core.protocol.version08
Methods in io.undertow.websockets.core.protocol.version08 with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionHybi08Handshake.createChannel
(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) -
Uses of WebSocketHttpExchange in io.undertow.websockets.core.protocol.version13
Methods in io.undertow.websockets.core.protocol.version13 with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionHybi13Handshake.createChannel
(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) protected void
Hybi13Handshake.handshakeInternal
(WebSocketHttpExchange exchange) -
Uses of WebSocketHttpExchange in io.undertow.websockets.spi
Classes in io.undertow.websockets.spi that implement WebSocketHttpExchangeModifier and TypeClassDescriptionclass
class