public static JettyTestDriver newInstanceWithSsl(RequestHandler requestHandler,
                                                     Path certificateFile,
                                                     Path privateKeyFile,
                                                     TlsClientAuth tlsClientAuth,
                                                     Module... guiceModules) {
        return newConfiguredInstance(
                requestHandler,
                new ServerConfig.Builder().connectionLog(new ServerConfig.ConnectionLog.Builder().enabled(true)),
                new ConnectorConfig.Builder()
                        .ssl(new ConnectorConfig.Ssl.Builder()
                                .enabled(true)
                                .clientAuth(tlsClientAuth == TlsClientAuth.NEED
                                        ? ConnectorConfig.Ssl.ClientAuth.Enum.NEED_AUTH
                                        : ConnectorConfig.Ssl.ClientAuth.Enum.WANT_AUTH)
                                .privateKeyFile(privateKeyFile.toString())
                                .certificateFile(certificateFile.toString())
                                .caCertificateFile(certificateFile.toString())),
                guiceModules);
    }
Provides functionality for setting up a jdisc container with an HTTP server, handlers and a simple http client.

@author bjorncs
@author Simon Thoresen Hult
@author bakksjo
container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/JettyTestDriver.java