Package org.eurekaj.manager.server.router

Examples of org.eurekaj.manager.server.router.RouterHandler


            routes.put("startsWith:/alertRecipients", new AlertRecipientsHandler());
            routes.put("startsWith:/cachedScript", new CachedScriptHandler(webappDir));
            routes.put("equals:/", new CachedIndexHandler(webappDir, cacheSeconds));
            routes.put("equals:/index.html", new CachedIndexHandler(webappDir, cacheSeconds));
            
        routerHandler = new RouterHandler(routes, false,
          new CacheableFileServerHandler(
            webappDir,
            IntegerParser.parseIntegerFromString(System.getProperty("org.eurekaj.indexCacheSeconds"), 0)
          ));
        }
View Full Code Here

TOP

Related Classes of org.eurekaj.manager.server.router.RouterHandler

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.