Package io.undertow.websockets.handshake
Class HandshakeUtil
java.lang.Object
io.undertow.websockets.handshake.HandshakeUtil
Internal util class for handshaking
- Author:
- Norman Maurer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckOrigin(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Checks the orgin against thestatic ConfiguredServerEndpointgetConfig(UndertowSession channel) Returns theConfiguredServerEndpointstatic voidprepareUpgrade(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Prepare for upgradestatic voidsetConfig(UndertowSession channel, ConfiguredServerEndpoint config) Set theConfiguredServerEndpoint
-
Field Details
-
PATH_PARAMS
-
PRINCIPAL
-
-
Method Details
-
checkOrigin
public static boolean checkOrigin(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Checks the orgin against the -
prepareUpgrade
public static void prepareUpgrade(jakarta.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Prepare for upgrade -
setConfig
Set theConfiguredServerEndpoint -
getConfig
Returns theConfiguredServerEndpoint
-