public void stop() throws Exception {
    // close all connectors and release all binding ports
    for (Connector connector : mServer.getConnectors()) {
      connector.stop();
    }

    mServer.stop();
  }
public void stop ( ) throws Exception { for ( Connector connector : mServer . getConnectors ( ) ) { connector . stop ( ) ; } mServer . stop ( ) ; }
Shuts down the web server.