use of org.webpieces.asyncserver.api.AsyncServerManager in project webpieces by deanhiller.
the class HttpFrontendFactory method createFrontEnd.
public static HttpFrontendManager createFrontEnd(ChannelManager chanMgr, ScheduledExecutorService timer, InjectionConfig injConfig, HttpParser parsing) {
AsyncServerManager svrMgr = AsyncServerMgrFactory.createAsyncServer(chanMgr);
Http2ServerEngineFactory svrEngineFactory = new Http2ServerEngineFactory(injConfig);
return new FrontEndServerManagerImpl(svrMgr, timer, svrEngineFactory, parsing);
}
Aggregations