Class SpringConfigurator
java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.springframework.web.socket.server.standard.SpringConfigurator
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:
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.websocket.server.ServerEndpointConfig.Configurator
checkOrigin, getContainerDefaultConfigurator, getNegotiatedExtensions, getNegotiatedSubprotocol, modifyHandshake
-
Constructor Details
-
SpringConfigurator
public SpringConfigurator()
-
-
Method Details
-
getEndpointInstance
- Overrides:
getEndpointInstance
in classServerEndpointConfig.Configurator
- Throws:
InstantiationException
-