Class RFC8441Handshaker
java.lang.Object
org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker
org.eclipse.jetty.websocket.core.server.internal.RFC8441Handshaker
- All Implemented Interfaces:
Handshaker
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker
LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected WebSocketConnection
createWebSocketConnection
(Request baseRequest, WebSocketCoreSession coreSession) protected WebSocketNegotiation
newNegotiation
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebSocketComponents webSocketComponents) protected void
prepareResponse
(Response response, WebSocketNegotiation negotiation) protected boolean
validateFrameHandler
(FrameHandler frameHandler, jakarta.servlet.http.HttpServletResponse response) protected boolean
validateRequest
(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker
newWebSocketConnection, newWebSocketCoreSession, upgradeRequest, validateNegotiation
-
Constructor Details
-
RFC8441Handshaker
public RFC8441Handshaker()
-
-
Method Details
-
validateRequest
protected boolean validateRequest(jakarta.servlet.http.HttpServletRequest request) - Specified by:
validateRequest
in classAbstractHandshaker
-
newNegotiation
protected WebSocketNegotiation newNegotiation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebSocketComponents webSocketComponents) - Specified by:
newNegotiation
in classAbstractHandshaker
-
validateFrameHandler
protected boolean validateFrameHandler(FrameHandler frameHandler, jakarta.servlet.http.HttpServletResponse response) - Specified by:
validateFrameHandler
in classAbstractHandshaker
-
createWebSocketConnection
protected WebSocketConnection createWebSocketConnection(Request baseRequest, WebSocketCoreSession coreSession) - Specified by:
createWebSocketConnection
in classAbstractHandshaker
-
prepareResponse
- Specified by:
prepareResponse
in classAbstractHandshaker
-