类 WebSocketConfig
java.lang.Object
info.baseinsight.plugin.springsecurity.websocket.WebSocketConfig
- 所有已实现的接口:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Component
@Configuration
@EnableConfigurationProperties(WebSocketProperties.class)
@EnableWebSocketMessageBroker
public class WebSocketConfig
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config) booleanconfigureMessageConverters(List<org.springframework.messaging.converter.MessageConverter> messageConverters) voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) 从类继承的方法 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, configureWebSocketTransport
-
构造器详细资料
-
WebSocketConfig
public WebSocketConfig()
-
-
方法详细资料
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config) - 指定者:
configureMessageBroker在接口中org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) - 指定者:
registerStompEndpoints在接口中org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureMessageConverters
public boolean configureMessageConverters(List<org.springframework.messaging.converter.MessageConverter> messageConverters) - 指定者:
configureMessageConverters在接口中org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-