public final class CsrfTokenHandshakeInterceptor
extends java.lang.Object
implements org.springframework.web.socket.server.HandshakeInterceptor
Constructor and Description |
---|
CsrfTokenHandshakeInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterHandshake(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
org.springframework.web.socket.WebSocketHandler wsHandler,
java.lang.Exception exception) |
boolean |
beforeHandshake(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
org.springframework.web.socket.WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
public boolean beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.util.Map<java.lang.String,java.lang.Object> attributes) throws java.lang.Exception
beforeHandshake
in interface org.springframework.web.socket.server.HandshakeInterceptor
java.lang.Exception
public void afterHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, java.lang.Exception exception)
afterHandshake
in interface org.springframework.web.socket.server.HandshakeInterceptor