Example usage for org.springframework.web.socket.server.standard TomcatRequestUpgradeStrategy TomcatRequestUpgradeStrategy

List of usage examples for org.springframework.web.socket.server.standard TomcatRequestUpgradeStrategy TomcatRequestUpgradeStrategy

Introduction

In this page you can find the example usage for org.springframework.web.socket.server.standard TomcatRequestUpgradeStrategy TomcatRequestUpgradeStrategy.

Prototype

TomcatRequestUpgradeStrategy

Source Link

Usage

From source file:com.github.mrstampy.gameboot.otp.websocket.OtpWebSocketTestConfiguration.java

/**
 * Creates the handshake handler./*  ww w .j a  va2 s.c  o  m*/
 *
 * @return the handshake handler
 */
@Bean
public HandshakeHandler createHandshakeHandler() {
    return new WebSocketTransportHandler(new DefaultHandshakeHandler(new TomcatRequestUpgradeStrategy()));
}