code: public void destroy()
      {
          __servers.remove(this);
          if (isStarted())
              throw new IllegalStateException("Started");
          if (_listeners!=null)
              _listeners.clear();
          _listeners=null;
          if (_virtualHostMap!=null)
              _virtualHostMap.clear();
          _virtualHostMap=null;
          _notFoundContext=null;
  
          super.destroy();
      }
docs: Destroy a stopped server.
  Remove all components and send notifications to all event
  listeners. The HttpServer must be stopped before it can be destroyed.