private static EmbeddedJetty instantiate ( Class < ? > klass ) { final EmbeddedJettyConfiguration configuration = extractConfiguration ( klass ) ; return configuration == null ? new EmbeddedJetty ( ) : new EmbeddedJetty ( configuration ) ; }
Instantiate embedded jetty to be used in tests .