All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.angular.IRequestShortcutConfig Maven / Gradle / Ivy

package net.java.html.lib.angular;
public class IRequestShortcutConfig extends IHttpProviderDefaults {
  protected IRequestShortcutConfig(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(IRequestShortcutConfig.class);
    }
    @Override
    public IRequestShortcutConfig create(java.lang.Object obj) {
      return obj == null ? null : new IRequestShortcutConfig(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static IRequestShortcutConfig $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  /**
  * {Object.}
  * Map of strings or objects which will be turned to ?key1=value1&key2=value2 after the url. If the value is not a string, it will be JSONified.
  */
  public net.java.html.lib.Objs.Property params = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "params");
  /**
  * {string|Object}
  * Data to be sent as the request message data.
  */
  public net.java.html.lib.Objs.Property data = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "data");
  /**
  * Timeout in milliseconds, or promise that should abort the request when resolved.
  */
  public net.java.html.lib.Objs.Property>> timeout = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A2.class, "timeout");
  /**
  * See [XMLHttpRequest.responseType]https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype
  */
  public net.java.html.lib.Objs.Property responseType = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "responseType");
  public java.lang.String responseType() { return responseType.get(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy