src/java/org/jivesoftware/openfire/http/HttpBindManager.java
/**
     * Creates a Jetty context handler that can be used to expose Websocket functionality.
     *
     * Note that an invocation of this method will not register the handler (and thus make the related functionality
     * available to the end user). Instead, the created handler is returned by this method, and will need to be
     * registered with the embedded Jetty webserver by the caller.
     *
     * @return A Jetty context handler (never null).
     */
Creates a Jetty context handler that can be used to expose Websocket functionality.
Note that an invocation of this method will not register the handler (and thus make the related functionality
available to the end user). Instead, the created handler is returned by this method, and will need to be
registered with the embedded Jetty webserver by the caller.

@return A Jetty context handler (never null).
Creates a Jetty context handler that can be used to expose Websocket functionality . Note that an invocation of this method will not register the handler ( and thus make the related functionality available to the end user ) . Instead the created handler is returned by this method and will need to be registered with the embedded Jetty webserver by the caller . @return A Jetty context handler ( never null ) .
protected Handler createWebsocketHandler()
    {
        final ServletContextHandler context = new ServletContextHandler( null, "/ws", ServletContextHandler.SESSIONS );
        context.addServlet( new ServletHolder( new OpenfireWebSocketServlet() ), "/*" );
        return context;
    }
protected Handler createWebsocketHandler ( ) { final ServletContextHandler context = new ServletContextHandler ( null , "/ws" , ServletContextHandler . SESSIONS ) ; context . addServlet ( new ServletHolder ( new OpenfireWebSocketServlet ( ) ) , "/*" ) ; return context ; }
Creates a Jetty context handler that can be used to expose Websocket functionality.
Creates a Jetty context handler that can be used to expose Websocket functionality .
// Add the functionality-providers.