Package com.flaptor.util.web

Examples of com.flaptor.util.web.RedirectHandler


            }
            boolean redirect = config.getBoolean("websearch.redirect");
            if (redirect) {
                String from = config.getString("websearch.redirect.from");
                String to = config.getString("websearch.redirect.to");
                httpServer.addHandler("/", new RedirectHandler(from,to));
            }
            try {httpServer.start();} catch (Exception e) {throw new RuntimeException(e);}
        }
    }
View Full Code Here

TOP

Related Classes of com.flaptor.util.web.RedirectHandler

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.