Class WebSocketCreatorFactory


  • public class WebSocketCreatorFactory
    extends java.lang.Object
    Factory class to create WebSocketCreator implementations that delegate to the given handler class.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.eclipse.jetty.websocket.servlet.WebSocketCreator create​(WebSocketHandlerWrapper handlerWrapper)
      Creates a WebSocketCreator that uses the given handler class/instance for the WebSocket connections.
      • Methods inherited from class java.lang.Object

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

      • WebSocketCreatorFactory

        public WebSocketCreatorFactory()
    • Method Detail

      • create

        public static org.eclipse.jetty.websocket.servlet.WebSocketCreator create​(WebSocketHandlerWrapper handlerWrapper)
        Creates a WebSocketCreator that uses the given handler class/instance for the WebSocket connections.
        Parameters:
        handlerWrapper - The wrapped handler to use to manage WebSocket connections.
        Returns:
        The WebSocketCreator.