Uses of Interface
io.undertow.websockets.handshake.WebSocketHttpExchange
Packages that use WebSocketHttpExchange
-
Uses of WebSocketHttpExchange in io.undertow.websockets
Methods in io.undertow.websockets with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionEndpointSessionHandler.connected(io.netty.channel.ChannelHandlerContext context, ConfiguredServerEndpoint config, WebSocketHttpExchange exchange, String subprotocol) -
Uses of WebSocketHttpExchange in io.undertow.websockets.handshake
Methods in io.undertow.websockets.handshake with parameters of type WebSocketHttpExchangeModifier and TypeMethodDescriptionstatic booleanHandshakeUtil.checkOrigin(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Checks the orgin against theprotected static StringHandshake.getWebSocketLocation(WebSocketHttpExchange exchange) Return the full url of the websocket location of the givenWebSocketHttpExchangefinal voidHandshake.handshake(WebSocketHttpExchange exchange, Consumer<io.netty.channel.ChannelHandlerContext> completeListener) Issue the WebSocket upgradeprotected voidHandshake.handshakeInternal(WebSocketHttpExchange exchange) protected final List<io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension>Handshake.initExtensions(WebSocketHttpExchange exchange) Create theExtensionFunctionlist associated with the negotiated extensions defined in the exchange's response.booleanHandshake.matches(WebSocketHttpExchange exchange) protected final voidHandshake.performUpgrade(WebSocketHttpExchange exchange) convenience method to perform the upgradestatic voidHandshakeUtil.prepareUpgrade(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Prepare for upgradeprotected final voidHandshake.selectSubprotocol(WebSocketHttpExchange exchange) Selects the first matching supported sub protocol and add it the the headers of the exchange.Constructors in io.undertow.websockets.handshake with parameters of type WebSocketHttpExchangeModifierConstructorDescription