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 TypeMethodDescriptionvoidWebSocketConnectionCallback.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 WebSocketChannelHandshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) Create theWebSocketChannelfrom theWebSocketHttpExchangeprotected static StringHandshake.getWebSocketLocation(WebSocketHttpExchange exchange) Return the full url of the websocket location of the givenWebSocketHttpExchangefinal voidHandshake.handshake(WebSocketHttpExchange exchange) Issue the WebSocket upgradeprotected abstract voidHandshake.handshakeInternal(WebSocketHttpExchange exchange) protected final List<ExtensionFunction>Handshake.initExtensions(WebSocketHttpExchange exchange) Create theExtensionFunctionlist associated with the negotiated extensions defined in the exchange's response.abstract booleanHandshake.matches(WebSocketHttpExchange exchange) Returntrueif this implementation can be used to issue a handshake.protected final voidHandshake.performUpgrade(WebSocketHttpExchange exchange) Perform the upgrade using no payloadprotected final voidHandshake.performUpgrade(WebSocketHttpExchange exchange, byte[] data) convenience method to perform the upgradeprotected final voidHandshake.selectExtensions(WebSocketHttpExchange exchange) protected final voidHandshake.selectSubprotocol(WebSocketHttpExchange exchange) Selects the first matching supported sub protocol and add it the the headers of the exchange.protected voidHandshake.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 voidHybi07Handshake.handshakeInternal(WebSocketHttpExchange exchange) booleanHybi07Handshake.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 voidHybi13Handshake.handshakeInternal(WebSocketHttpExchange exchange) -
Uses of WebSocketHttpExchange in io.undertow.websockets.spi
Classes in io.undertow.websockets.spi that implement WebSocketHttpExchangeModifier and TypeClassDescriptionclassclass