code: public void setHttpServer(HttpServer server)
      {
          if (server!=null && _server!=null && _server!=server)
              throw new IllegalStateException("Cannot share listeners");
          _server=server;
      }
docs: /* ------------------------------------------------------------