Class SpringConfigurator

java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.springframework.web.socket.server.standard.SpringConfigurator

public class SpringConfigurator extends ServerEndpointConfig.Configurator
A ServerEndpointConfig.Configurator for initializing ServerEndpoint-annotated classes through Spring.

 @ServerEndpoint(value = "/echo", configurator = SpringConfigurator.class)
 public class EchoEndpoint {
     // ...
 }
 
Since:
4.0
Author:
Rossen Stoyanchev
See Also: