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);
this.s2sLatencyView = new LatencyView("NHTTPS2SLatencyView", isHttps);
this.threadingView = new ThreadingView("HttpServerWorker", true, 50);
this.restDispatching = listenerContext.isRestDispatching();