code: public void save(String saveat)
          throws MalformedURLException,
                 IOException
      {
          Resource resource = Resource.newResource(saveat);
          ObjectOutputStream out = new ObjectOutputStream(resource.getOutputStream());
          out.writeObject(this);
          out.flush();
          out.close();
          log.info("Saved "+this+" to "+resource);
      }
docs: Save the HttpServer
  The server is saved by serialization to the given filename or URL.
  
  @param saveat A file or URL to save the configuration at.
  @exception MalformedURLException
  @exception IOException