org.nutz.web.ajax.AjaxT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutz-web Show documentation
Show all versions of nutz-web Show documentation
Nutz, which is a collections of lightweight frameworks, each of them can be used independently
package org.nutz.web.ajax;
public class AjaxT {
boolean ok;
String msg;
T data;
public boolean isOk() {
return ok;
}
public String getMsg() {
return msg;
}
public T getData() {
return data;
}
public AjaxT setOk(boolean ok) {
this.ok = ok;
return this;
}
public AjaxT setMsg(String msg) {
this.msg = msg;
return this;
}
public AjaxT setData(T data) {
this.data = data;
return this;
}
public static final AjaxT Create(Class klass) {
return new AjaxT();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy