public class SpringConfigurator
extends javax.websocket.server.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) |
public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.ConfiguratorInstantiationException