private static void stopAll()
    { 
        if (_configs!=null)
        {
            synchronized(_configs)
            {
                for(int i=0;i<_servers.size();i++)
                {
                    HttpServer server = (HttpServer)_servers.get(i);
                    try{server.stop();}catch(InterruptedException e){}
                }
            }
        }
    }
private static void stopAll ( ) { if ( _configs != null ) { synchronized ( _configs ) { for ( int i = 0 ; i < _servers . size ( ) ; i ++ ) { HttpServer server = ( HttpServer ) _servers . get ( i ) ; try { server . stop ( ) ; } catch ( InterruptedException e ) { } } } } }
/* ------------------------------------------------------------