Package cn.webwheel.results

Examples of cn.webwheel.results.JSonResult


    /**
     * get a json result with "ok" property.
     */
    public JSonResult ok() {
        return new JSonResult().set("ok", 1);
    }
View Full Code Here


    /**
     * get a json result with "msg" property.
     */
    public JSonResult err(String msg) {
        return new JSonResult().set("msg", msg);
    }
View Full Code Here

TOP

Related Classes of cn.webwheel.results.JSonResult

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.