程序包的使用
org.springframework.messaging.simp.user
使用org.springframework.messaging.simp.user的程序包 程序包 说明 org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.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.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.messaging.simp.config使用的org.springframework.messaging.simp.user中的类 类 说明 SimpUserRegistry A registry of currently connected users.UserDestinationMessageHandler MessageHandler
with support for "user" destinations.UserDestinationResolver A strategy for resolving a "user" destination by translating it to one or more actual destinations one per active user session.org.springframework.messaging.simp.user使用的org.springframework.messaging.simp.user中的类 类 说明 MultiServerUserRegistry SimpUserRegistry
that looks up users in a "local" user registry as well as a set of "remote" user registries.SimpSession Represents a session of connected user.SimpSubscription Represents a subscription within a user session.SimpSubscriptionMatcher A strategy for matching subscriptions.SimpUser Represents a connected user.SimpUserRegistry A registry of currently connected users.UserDestinationResolver A strategy for resolving a "user" destination by translating it to one or more actual destinations one per active user session.UserDestinationResult Contains the result from parsing a "user" destination from a source message and translating it to target destinations (one per active user session).org.springframework.web.socket.config.annotation使用的org.springframework.messaging.simp.user中的类 类 说明 SimpUserRegistry A registry of currently connected users.org.springframework.web.socket.messaging使用的org.springframework.messaging.simp.user中的类 类 说明 SimpSubscription Represents a subscription within a user session.SimpSubscriptionMatcher A strategy for matching subscriptions.SimpUser Represents a connected user.SimpUserRegistry A registry of currently connected users.