public class SpringConfigurator extends ServerEndpointConfig.Configurator
ServerEndpointConfig.Configurator for initializing
ServerEndpoint-annotated classes through Spring.
@ServerEndpoint(value = "/echo", configurator = SpringConfigurator.class)
public class EchoEndpoint {
// ...
}
ServerEndpointExporter| Constructor and Description |
|---|
SpringConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEndpointInstance(Class<T> endpointClass) |
checkOrigin, getNegotiatedExtensions, getNegotiatedSubprotocol, modifyHandshakepublic <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance in class ServerEndpointConfig.ConfiguratorInstantiationException