} catch (IOException e) {
throw new IllegalStateException(e);
} catch (URISyntaxException e) {
throw new RuntimeException("Unexpected URI syntax exception! - this shouldn't happen", e);
}
ResourceHandler resource_handler = new ResourceHandler();
resource_handler.setResourceBase(resourceBase);
this.server = new Server(port);
HandlerList handlers = new HandlerList();
handlers.setHandlers(new Handler[]{resource_handler, new DefaultHandler()});
this.server.setHandler(handlers);