final JettyContext jettyContext = new JettyContext(currentHost, currentStubsPort, currentStubsSslPort, currentAdminPort);
final HandlerList handlers = new HandlerList();
handlers.setHandlers(new Handler[]
{
constructHandler(STUBS_CONNECTOR_NAME, "/", new StubsHandler(dataStore)),
constructHandler(SSL_CONNECTOR_NAME, "/", new SslHandler(dataStore)),
constructHandler(ADMIN_CONNECTOR_NAME, "/stubdata/new", new StubsRegistrationHandler(dataStore, yamlParser)),
constructHandler(ADMIN_CONNECTOR_NAME, "/ping", new PingHandler(jettyContext, dataStore, yamlParser)),
constructHandler(ADMIN_CONNECTOR_NAME, "/", staticResourceHandler("ui/html/templates/", "admin-index.html")),
constructHandler(ADMIN_CONNECTOR_NAME, "/highlight", staticResourceHandler("ui/html/highlight/"))