@Configuration
@ConditionalOnProperty(prefix="openingo.websocket",
name="enable",
havingValue="true")
@ConditionalOnClass(value=org.springframework.web.socket.server.standard.ServerEndpointExporter.class)
@EnableConfigurationProperties(value=WebsocketConfigProperties.class)
public class WebsocketConfig
extends Object
| Constructor and Description |
|---|
WebsocketConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.socket.server.standard.ServerEndpointExporter |
serverEndpointExporter() |
WebsocketServerEndpoint |
websocketServerEndpoint() |
@Bean public org.springframework.web.socket.server.standard.ServerEndpointExporter serverEndpointExporter()
@Bean public WebsocketServerEndpoint websocketServerEndpoint()
Copyright © 2021. All rights reserved.