|
|
@@ -17,7 +17,7 @@ public class WebSocketHandshakeInterceptor implements HandshakeInterceptor {
|
|
|
@Override
|
|
|
public boolean beforeHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler,
|
|
|
Map<String, Object> attributes) throws Exception {
|
|
|
-
|
|
|
+ System.out.println("beforeHandshake");
|
|
|
if (request instanceof ServletServerHttpRequest) {
|
|
|
ServletServerHttpRequest servletRequest = (ServletServerHttpRequest) request;
|
|
|
HttpSession session = servletRequest.getServletRequest().getSession(false);
|