Class DefaultWebSocketServerFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Allows to shutdown the websocket factory for a clean shutdown
      WebSocketImpl createWebSocket​(WebSocketAdapter a, java.util.List<Draft> d)
      Create a new Websocket with the provided listener, drafts and socket
      WebSocketImpl createWebSocket​(WebSocketAdapter a, Draft d)
      Create a new Websocket with the provided listener, drafts and socket
      java.nio.channels.SocketChannel wrapChannel​(java.nio.channels.SocketChannel channel, java.nio.channels.SelectionKey key)
      Allows to wrap the Socketchannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultWebSocketServerFactory

        public DefaultWebSocketServerFactory()