Class RFC6455Handshaker
java.lang.Object
org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker
org.eclipse.jetty.websocket.core.server.internal.RFC6455Handshaker
- 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
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, WebSocketComponents webSocketComponents) protected void
prepareResponse
(Response response, WebSocketNegotiation negotiation) protected boolean
validateFrameHandler
(FrameHandler frameHandler, javax.servlet.http.HttpServletResponse response) protected boolean
validateNegotiation
(WebSocketNegotiation negotiation) protected boolean
validateRequest
(javax.servlet.http.HttpServletRequest request) Methods inherited from class org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker
newWebSocketConnection, newWebSocketCoreSession, upgradeRequest
-
Constructor Details
-
RFC6455Handshaker
public RFC6455Handshaker()
-
-
Method Details
-
validateRequest
protected boolean validateRequest(javax.servlet.http.HttpServletRequest request) - Specified by:
validateRequest
in classAbstractHandshaker
-
newNegotiation
protected WebSocketNegotiation newNegotiation(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, WebSocketComponents webSocketComponents) - Specified by:
newNegotiation
in classAbstractHandshaker
-
validateNegotiation
- Overrides:
validateNegotiation
in classAbstractHandshaker
-
validateFrameHandler
protected boolean validateFrameHandler(FrameHandler frameHandler, javax.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
-