Class WebSocketConfig.CustomSessionHandshakeInterceptor

java.lang.Object
org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
org.vrspace.server.config.WebSocketConfig.CustomSessionHandshakeInterceptor
All Implemented Interfaces:
org.springframework.web.socket.server.HandshakeInterceptor
Enclosing class:
WebSocketConfig

public class WebSocketConfig.CustomSessionHandshakeInterceptor extends org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor

    HTTP_SESSION_ID_ATTR_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, Map<String,Object> attributes)
     

    Methods inherited from class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor

    afterHandshake, getAttributeNames, isCopyAllAttributes, isCopyHttpSessionId, isCreateSession, setCopyAllAttributes, setCopyHttpSessionId, setCreateSession

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CustomSessionHandshakeInterceptor

      public CustomSessionHandshakeInterceptor()
  • Method Details

    • beforeHandshake

      public boolean beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, Map<String,Object> attributes) throws Exception
      Specified by:
      beforeHandshake in interface org.springframework.web.socket.server.HandshakeInterceptor
      Overrides:
      beforeHandshake in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
      Throws:
      Exception