net.java.html.lib.angular.IHttpPromiseCallbackArg Maven / Gradle / Ivy
package net.java.html.lib.angular;
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.IHttpHeadersGetter.class, "headers");
public net.java.html.lib.Objs headers() {
return $Typings$.headers$210($js(this));
}
public java.lang.String headers(java.lang.String headerName) {
return $Typings$.headers$211($js(this), headerName);
}
public net.java.html.lib.Objs.Property config = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.IRequestConfig.class, "config");
public 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(); }
}