public void removeJettyHandler(@Nonnull final Handler handler )
    {
        extensionHandlers.removeHandler( handler );
        if ( handler.isStarted() )
        {
            try
            {
                handler.stop();
            }
            catch ( Exception e )
            {
                Log.warn( "Unable to stop the handler that was removed: {}", handler, e );
            }
        }

    }
Removes a Jetty handler to be added to the embedded web server that is used to expose BOSH (HTTP-bind)
functionality.

Removing a handler, even when null, or non-existing, might have side-effects as introduced by the Jetty
implementation. At the time of writing, Jetty will re

@param handler The handler (should not be null).
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpBindManager.java