Example usage for org.springframework.web.socket.messaging SubProtocolWebSocketHandler SubProtocolWebSocketHandler

List of usage examples for org.springframework.web.socket.messaging SubProtocolWebSocketHandler SubProtocolWebSocketHandler

Introduction

In this page you can find the example usage for org.springframework.web.socket.messaging SubProtocolWebSocketHandler SubProtocolWebSocketHandler.

Prototype

public SubProtocolWebSocketHandler(MessageChannel clientInboundChannel,
        SubscribableChannel clientOutboundChannel) 

Source Link

Document

Create a new SubProtocolWebSocketHandler for the given inbound and outbound channels.

Usage

From source file:ch.rasc.wampspring.config.DefaultWampConfiguration.java

@Bean
public WebSocketHandler subProtocolWebSocketHandler() {
    return new SubProtocolWebSocketHandler(clientInboundChannel(), clientOutboundChannel());
}