public HttpHandler(HttpServletDispatcherController servletController,
Config config) {
httpConnectionListener = config.getHttpConnectionListener();
String appPrefix = config.getContextPath() + config.getServletPath();
if (VerifyUtils.isEmpty(appPrefix))
throw new HttpServerException(
"context path and servlet path can not be null");
if (config.getHandlerSize() > 0) {
requestHandler = new QueueRequestHandler(appPrefix,
servletController, new FileDispatcherController(config),