Example usage for org.springframework.web.socket.handler PerConnectionWebSocketHandler PerConnectionWebSocketHandler

List of usage examples for org.springframework.web.socket.handler PerConnectionWebSocketHandler PerConnectionWebSocketHandler

Introduction

In this page you can find the example usage for org.springframework.web.socket.handler PerConnectionWebSocketHandler PerConnectionWebSocketHandler.

Prototype

public PerConnectionWebSocketHandler(Class<? extends WebSocketHandler> handlerType) 

Source Link

Usage

From source file:org.emmanuel.spring.chat.config.WebMvcConfig.java

@Bean
public WebSocketHandler chatWebSocketHandler() {
    return new PerConnectionWebSocketHandler(ChatMessageHandler.class);
}

From source file:com.uplink.mowitnow.config.MowItNowApplication.java

@Bean
public WebSocketHandler snakeWebSocketHandler() {
    return new PerConnectionWebSocketHandler(MowItNowWebSocketHandler.class);
}

From source file:samples.websocket.jetty.SampleJettyWebSocketsApplication.java

@Bean
public WebSocketHandler snakeWebSocketHandler() {
    return new PerConnectionWebSocketHandler(SnakeWebSocketHandler.class);
}