@Configuration @EnableWebSocket public class WebSocketConfiguration extends Object implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
| Constructor and Description |
|---|
WebSocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getKeepaliveInterval()
Returns the keep-alive interval, in milliseconds.
|
void |
registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
Register the web socket handler and add a handshake interceptor to copy attributes from the
http session to the web socket.
|
public static long getKeepaliveInterval()
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurerWebSocketConfigurer.registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry)Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.