Uses of Interface
io.undertow.websockets.spi.WebSocketHttpExchange
-
-
Uses of WebSocketHttpExchange in io.undertow.websockets
Methods in io.undertow.websockets with parameters of type WebSocketHttpExchange Modifier and Type Method Description voidWebSocketConnectionCallback. 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 WebSocketHttpExchange Modifier and Type Method Description abstract 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 givenWebSocketHttpExchangevoidHandshake. handshake(WebSocketHttpExchange exchange)Issue the WebSocket upgradeprotected abstract voidHandshake. handshakeInternal(WebSocketHttpExchange exchange)protected 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 voidHandshake. performUpgrade(WebSocketHttpExchange exchange)Perform the upgrade using no payloadprotected voidHandshake. performUpgrade(WebSocketHttpExchange exchange, byte[] data)convenience method to perform the upgradeprotected voidHandshake. selectExtensions(WebSocketHttpExchange exchange)protected 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 WebSocketHttpExchange Modifier and Type Method Description WebSocketChannelHybi07Handshake. 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 WebSocketHttpExchange Modifier and Type Method Description WebSocketChannelHybi08Handshake. 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 WebSocketHttpExchange Modifier and Type Method Description WebSocketChannelHybi13Handshake. 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 WebSocketHttpExchange Modifier and Type Class Description classAsyncWebSocketHttpServerExchangeclassBlockingWebSocketHttpServerExchange
-