接口的使用
org.springframework.messaging.simp.user.SimpUser
使用SimpUser的程序包 程序包 说明 org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e. destinations that are unique to a user's sessions), primarily translating the destinations and then forwarding the updated message to the broker.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.messaging.simp.user中SimpUser的使用
org.springframework.web.socket.messaging中SimpUser的使用
返回SimpUser的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 SimpUser
DefaultSimpUserRegistry. getUser(String userName)
返回变量类型为SimpUser的类型的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 Set<SimpUser>
DefaultSimpUserRegistry. getUsers()