use of org.apache.myriad.webapp.HttpConnectorProvider in project incubator-myriad by apache.
the class TestObjectFactory method getMyriadWebServer.
public static MyriadWebServer getMyriadWebServer(MyriadConfiguration cfg) {
Server server = TestObjectFactory.getJettyServer();
HttpConnectorProvider provider = new HttpConnectorProvider(cfg);
Connector connector = provider.get();
return new MyriadWebServer(server, connector, new GuiceFilter());
}
Aggregations