public interface WampServletConfigurer extends WampConfigurer
Used together with EnableWamp
| Modifier and Type | Method and Description |
|---|---|
default void |
configureWebSocketHandlerRegistration(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration registration)
Configures the WebSocket handler registration
@Override
public void configureWebSocketHandlerRegistration(
WebSocketHandlerRegistration registration) {
registration.setAllowedOrigins("http://localhost:8100");
} |
default org.springframework.web.socket.WebSocketHandler |
decorateWebSocketHandler(org.springframework.web.socket.WebSocketHandler webSocketHandler)
Decorates a WebSocket handler
|
addArgumentResolvers, configureClientInboundChannel, configureFeaturesdefault org.springframework.web.socket.WebSocketHandler decorateWebSocketHandler(org.springframework.web.socket.WebSocketHandler webSocketHandler)
default void configureWebSocketHandlerRegistration(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration registration)
@Override
public void configureWebSocketHandlerRegistration(
WebSocketHandlerRegistration registration) {
registration.setAllowedOrigins("http://localhost:8100");
}
Copyright © 2017–2018. All rights reserved.