log.info("context path [{}]", config.getContextPath());
log.info("servlet path [{}]", config.getServletPath());
log.info("http handler num [{}]", config.getHandlerSize());
long start = System.currentTimeMillis();
AnnotationWebContext context = new AnnotationWebContext(
config.getConfigFileName(), config.getServerHome());
HttpServletDispatcherController controller = HttpServletDispatcherController
.getInstance().init(context);
config.setEncoding(context.getEncoding());
Server server = new TcpServer(new HttpDecoder(config),
new HttpEncoder(), new HttpHandler(controller, config));
server.start(config.getHost(), config.getPort());
long end = System.currentTimeMillis();