jakarta.websocket.server.ServerEndpointConfig.Configurator for initializing
ServerEndpoint-annotated classes through Spring.
@ServerEndpoint(value = "/echo", configurator = SpringConfigurator.class)
public class EchoEndpoint {
// ...
}
ServerEndpointExporter
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Log | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public <T> T | getEndpointInstance(Class<T> endpointClass)
Overrides jakarta.
|
| cache | back to summary |
|---|---|
| private static final Map<String, Map<Class<?>, String>> cache | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| NO_VALUE | back to summary |
|---|---|
| private static final String NO_VALUE | |
| SpringConfigurator | back to summary |
|---|---|
| public SpringConfigurator() | |
| getBeanNameByType | back to summary |
|---|---|
private String getBeanNameByType(WebApplicationContext wac, Class<?> endpointClass)
| |
| getEndpointInstance | back to summary |
|---|---|
| public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException Overrides jakarta.
| |