net.java.html.lib.angular.ng.IHttpPromiseCallbackArg Maven / Gradle / Ivy
package net.java.html.lib.angular.ng;
public class IHttpPromiseCallbackArg extends net.java.html.lib.Objs {
protected IHttpPromiseCallbackArg(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(IHttpPromiseCallbackArg.class);
}
@Override
public IHttpPromiseCallbackArg create(java.lang.Object obj) {
return obj == null ? null : new IHttpPromiseCallbackArg(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IHttpPromiseCallbackArg $as(java.lang.Object obj) {
return $AS.create(obj);
}
public net.java.html.lib.Objs.Property data = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "data");
public net.java.html.lib.Objs.Property status = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "status");
public java.lang.Number status() { return status.get(); }
public net.java.html.lib.Objs.Property headers = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.ng.IHttpHeadersGetter.class, "headers");
public java.lang.String headers(java.lang.String headerName) {
return $Typings$.headers$302($js(this), headerName);
}
public net.java.html.lib.Objs headers() {
return $Typings$.headers$303($js(this));
}
public net.java.html.lib.Objs.Property config = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.ng.IRequestConfig.class, "config");
public net.java.html.lib.angular.ng.IRequestConfig config() { return config.get(); }
public net.java.html.lib.Objs.Property statusText = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "statusText");
public java.lang.String statusText() { return statusText.get(); }
}