Examples of AppengineUtil


Examples of com.crashnote.appengine.util.AppengineUtil

    @Override
    protected Config readConf() {

        // create dynamic config file .. (ONLY enable client if running on AppEngine, local requests can just be passed through then)
        final String enabled = new AppengineUtil().isRunningOnAppengine() ? "true" : "false";
        final Config appengineConf = getConfStr("crashnote { enabled = " + enabled + ", request { ignore-localhost = false } }");

        // .. and add it to the application conf
        return super.readConf()
                .withFallback(appengineConf);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.