Package io.datarouter.websocket.service
Class WebSocketConfig
java.lang.Object
io.datarouter.websocket.service.WebSocketConfig
- All Implemented Interfaces:
javax.websocket.server.ServerApplicationConfig
- Direct Known Subclasses:
GuiceWebSocketConfig
public abstract class WebSocketConfig extends Object implements javax.websocket.server.ServerApplicationConfig
-
Field Summary
Fields Modifier and Type Field Description static StringEVERYTHING_BUT_NOT_WEBSOCKETstatic StringWEBSOCKET_URI_PREFIX -
Constructor Summary
Constructors Constructor Description WebSocketConfig(DatarouterWebSocketConfigurator webSocketConfigurator) -
Method Summary
Modifier and Type Method Description Set<Class<?>>getAnnotatedEndpointClasses(Set<Class<?>> scanned)Set<javax.websocket.server.ServerEndpointConfig>getEndpointConfigs(Set<Class<? extends javax.websocket.Endpoint>> endpointClasses)
-
Field Details
-
WEBSOCKET_URI_PREFIX
- See Also:
- Constant Field Values
-
EVERYTHING_BUT_NOT_WEBSOCKET
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getEndpointConfigs
public Set<javax.websocket.server.ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends javax.websocket.Endpoint>> endpointClasses)- Specified by:
getEndpointConfigsin interfacejavax.websocket.server.ServerApplicationConfig
-
getAnnotatedEndpointClasses
- Specified by:
getAnnotatedEndpointClassesin interfacejavax.websocket.server.ServerApplicationConfig
-