public void shutdown(ISourceLocation server) {
NanoHTTPD nano = servers.get(server);
if (nano != null) {
if (nano.isAlive()) {
nano.stop();
servers.remove(server);
}
}
else {
throw RuntimeExceptionFactory.illegalArgument(server, null, null, "could not shutdown");