类 WebSocketStompConfig
java.lang.Object
plus.hiver.common.config.websocket.WebSocketStompConfig
- 所有已实现的接口:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketStompConfig
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
WebSocket配置
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) 配置信息代理voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) 注册stomp端点从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
addArgumentResolvers, addReturnValueHandlers, configureClientInboundChannel, configureClientOutboundChannel, configureMessageConverters, configureWebSocketTransport, getPhase
-
构造器详细资料
-
WebSocketStompConfig
public WebSocketStompConfig()
-
-
方法详细资料
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) 注册stomp端点- 指定者:
registerStompEndpoints在接口中org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer- 参数:
registry-
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) 配置信息代理- 指定者:
configureMessageBroker在接口中org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer- 参数:
registry-
-