Class HttpHandshakeInterceptor
- java.lang.Object
-
- co.mastermindcms.framework.inceptors.HttpHandshakeInterceptor
-
- All Implemented Interfaces:
org.springframework.web.socket.server.HandshakeInterceptor
public class HttpHandshakeInterceptor extends java.lang.Object implements org.springframework.web.socket.server.HandshakeInterceptor
-
-
Constructor Summary
Constructors Constructor Description HttpHandshakeInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.lang.Exception ex)
boolean
beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.util.Map attributes)
-
-
-
Method Detail
-
beforeHandshake
public boolean beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.util.Map attributes) throws java.lang.Exception
- Specified by:
beforeHandshake
in interfaceorg.springframework.web.socket.server.HandshakeInterceptor
- Throws:
java.lang.Exception
-
afterHandshake
public void afterHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.lang.Exception ex)
- Specified by:
afterHandshake
in interfaceorg.springframework.web.socket.server.HandshakeInterceptor
-
-