Package jakarta.websocket.server
Interface ServerApplicationConfig
public interface ServerApplicationConfig
Applications may provide an implementation of this interface to filter the discovered WebSocket endpoints that are
 deployed. Implementations of this class will be discovered via an ServletContainerInitializer scan.
- 
Method SummaryModifier and TypeMethodDescriptiongetAnnotatedEndpointClasses(Set<Class<?>> scanned) Enables applications to filter the discovered classes annotated withServerEndpoint.getEndpointConfigs(Set<Class<? extends Endpoint>> scanned) Enables applications to filter the discovered implementations ofServerEndpointConfig.
- 
Method Details- 
getEndpointConfigsEnables applications to filter the discovered implementations ofServerEndpointConfig.- Parameters:
- scanned- The- Endpointimplementations found in the application
- Returns:
- The set of configurations for the endpoint the application wishes to deploy
 
- 
getAnnotatedEndpointClassesEnables applications to filter the discovered classes annotated withServerEndpoint.- Parameters:
- scanned- The POJOs annotated with- ServerEndpointfound in the application
- Returns:
- The set of POJOs the application wishes to deploy
 
 
-