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

net.java.html.lib.node.http.Server Maven / Gradle / Ivy

The newest version!
package net.java.html.lib.node.http;
public class Server extends net.java.html.lib.node.net.Server {
  protected Server(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(Server.class);
    }
    @Override
    public Server create(java.lang.Object obj) {
      return obj == null ? null : new Server(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static Server $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public net.java.html.lib.Objs.Property maxHeadersCount = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "maxHeadersCount");
  public java.lang.Number maxHeadersCount() { return maxHeadersCount.get(); }
  public net.java.html.lib.Objs.Property timeout = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "timeout");
  public java.lang.Number timeout() { return timeout.get(); }
  public void setTimeout(double msecs, net.java.html.lib.Function callback) {
    $Typings$.setTimeout$47($js(this), msecs, /* FirstTypeNode*/$js(callback));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy