Package | Description |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected SimpUserRegistry |
AbstractMessageBrokerConfiguration.createLocalUserRegistry()
Deprecated.
as of 5.1 in favor of
AbstractMessageBrokerConfiguration.createLocalUserRegistry(Integer) |
protected abstract SimpUserRegistry |
AbstractMessageBrokerConfiguration.createLocalUserRegistry(Integer order)
Create the user registry that provides access to local users.
|
SimpUserRegistry |
AbstractMessageBrokerConfiguration.userRegistry(AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel) |
Modifier and Type | Method and Description |
---|---|
UserDestinationResolver |
AbstractMessageBrokerConfiguration.userDestinationResolver(SimpUserRegistry userRegistry,
AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel) |
MessageHandler |
AbstractMessageBrokerConfiguration.userRegistryMessageHandler(AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel,
SimpUserRegistry userRegistry,
SimpMessagingTemplate brokerMessagingTemplate,
TaskScheduler messageBrokerTaskScheduler) |
Modifier and Type | Class and Description |
---|---|
class |
MultiServerUserRegistry
SimpUserRegistry that looks up users in a "local" user registry as
well as a set of "remote" user registries. |
Modifier and Type | Method and Description |
---|---|
SimpUserRegistry |
DefaultUserDestinationResolver.getSimpUserRegistry()
Return the configured
SimpUserRegistry . |
Constructor and Description |
---|
DefaultUserDestinationResolver(SimpUserRegistry userRegistry)
Create an instance that will access user session id information through
the provided registry.
|
MultiServerUserRegistry(SimpUserRegistry localRegistry)
Create an instance wrapping the local user registry.
|
Modifier and Type | Method and Description |
---|---|
protected SimpUserRegistry |
WebSocketMessageBrokerConfigurationSupport.createLocalUserRegistry(Integer order) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSimpUserRegistry
A default implementation of
SimpUserRegistry that relies on
AbstractSubProtocolEvent application context events to keep
track of connected users and their subscriptions. |