net.java.html.lib.angular.IRequestConfig Maven / Gradle / Ivy
package net.java.html.lib.angular;
public class IRequestConfig extends IRequestShortcutConfig {
protected IRequestConfig(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(IRequestConfig.class);
}
@Override
public IRequestConfig create(java.lang.Object obj) {
return obj == null ? null : new IRequestConfig(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IRequestConfig $as(java.lang.Object obj) {
return $AS.create(obj);
}
/**
* HTTP method (e.g. 'GET', 'POST', etc)
*/
public net.java.html.lib.Objs.Property method = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "method");
public java.lang.String method() { return method.get(); }
/**
* Absolute or relative URL of the resource that is being requested.
*/
public net.java.html.lib.Objs.Property url = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "url");
public java.lang.String url() { return url.get(); }
}