this.listenerContext = listenerContext;
this.cfgCtx = listenerContext.getCfgCtx();
this.params = listenerContext.getParams();
this.isHttps = listenerContext.isSsl();
this.metrics = listenerContext.getMetrics();
this.responseFactory = new DefaultHttpResponseFactory();
this.httpProcessor = getHttpProcessor();
this.connStrategy = new DefaultConnectionReuseStrategy();
this.allocator = new HeapByteBufferAllocator();
this.activeConnections = new ArrayList<NHttpServerConnection>();
this.latencyView = new LatencyView("NHTTPLatencyView", isHttps);