接口 ISessionKeyGenerator

所有已知实现类:
SessionKeyGenerator

public interface ISessionKeyGenerator
WebSocketSession 唯一标识生成器
  • 方法概要

    修饰符和类型
    方法
    说明
    sessionKey(org.springframework.web.socket.WebSocketSession webSocketSession)
    获取当前session的唯一标识
  • 方法详细资料

    • sessionKey

      Object sessionKey(org.springframework.web.socket.WebSocketSession webSocketSession)
      获取当前session的唯一标识
      参数:
      webSocketSession - 当前session
      返回:
      session唯一标识