Package com.firefly.mvc.web.servlet

Examples of com.firefly.mvc.web.servlet.HttpServletDispatcherController


    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),
View Full Code Here


    log.info("firefly startup in {} ms", (end - start));
  }
 
  private static void init(WebContext context, Config config) throws Throwable {
    ThreadPoolWrapper.init(config);
    HttpServletDispatcherController controller = new HttpServletDispatcherController(context);
    config.setEncoding(context.getEncoding());
   
    File tempdir = null;
    if(VerifyUtils.isEmpty(config.getTempdir())) {
      tempdir = new File(TemplateView.getViewPath(), "_firefly_tmpdir");
View Full Code Here

TOP

Related Classes of com.firefly.mvc.web.servlet.HttpServletDispatcherController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.