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 java.lang.Object
implements javax.websocket.server.ServerApplicationConfig
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String EVERYTHING_BUT_NOT_WEBSOCKET  
    static java.lang.String WEBSOCKET_URI_PREFIX  
  • Constructor Summary

    Constructors 
    Constructor Description
    WebSocketConfig​(DatarouterWebSocketConfigurator webSocketConfigurator)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Set<java.lang.Class<?>> getAnnotatedEndpointClasses​(java.util.Set<java.lang.Class<?>> scanned)  
    java.util.Set<javax.websocket.server.ServerEndpointConfig> getEndpointConfigs​(java.util.Set<java.lang.Class<? extends javax.websocket.Endpoint>> endpointClasses)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getEndpointConfigs

      public java.util.Set<javax.websocket.server.ServerEndpointConfig> getEndpointConfigs​(java.util.Set<java.lang.Class<? extends javax.websocket.Endpoint>> endpointClasses)
      Specified by:
      getEndpointConfigs in interface javax.websocket.server.ServerApplicationConfig
    • getAnnotatedEndpointClasses

      public java.util.Set<java.lang.Class<?>> getAnnotatedEndpointClasses​(java.util.Set<java.lang.Class<?>> scanned)
      Specified by:
      getAnnotatedEndpointClasses in interface javax.websocket.server.ServerApplicationConfig