public class Server
extends net.java.html.lib.Objs
| Modifier and Type | Field and Description |
|---|---|
net.java.html.lib.Objs.Property<Number> |
connections |
net.java.html.lib.Objs.Property<Number> |
maxConnections |
net.java.html.lib.Objs.Property<Number> |
maxHeadersCount |
net.java.html.lib.Objs.Property<Number> |
timeout |
| Modifier | Constructor and Description |
|---|---|
protected |
Server(net.java.html.lib.Objs.Constructor<?> c,
Object js) |
| Modifier and Type | Method and Description |
|---|---|
static Server |
$as(Object obj) |
void |
addContext(String hostName,
net.java.html.lib.Objs credentials) |
net.java.html.lib.Objs |
address() |
Server |
close() |
Server |
close(net.java.html.lib.Function callback) |
Number |
connections() |
void |
getConnections(net.java.html.lib.Function.A2<? super net.java.html.lib.Error,? super Number,? extends Void> cb) |
Server |
listen(double port) |
Server |
listen(double port,
double backlog) |
Server |
listen(double port,
double backlog,
net.java.html.lib.Function listeningListener) |
Server |
listen(double port,
net.java.html.lib.Function listeningListener) |
Server |
listen(double port,
String hostname) |
Server |
listen(double port,
String hostname,
double backlog) |
Server |
listen(double port,
String hostname,
double backlog,
net.java.html.lib.Function listeningListener) |
Server |
listen(double port,
String hostname,
net.java.html.lib.Function listeningListener) |
Server |
listen(ListenOptions options) |
Server |
listen(ListenOptions options,
net.java.html.lib.Function listeningListener) |
Server |
listen(Object handle) |
Server |
listen(Object handle,
double backlog) |
Server |
listen(Object handle,
double backlog,
net.java.html.lib.Function listeningListener) |
Server |
listen(Object handle,
net.java.html.lib.Function listeningListener) |
Server |
listen(String path) |
Server |
listen(String path,
double backlog) |
Server |
listen(String path,
double backlog,
net.java.html.lib.Function listeningListener) |
Server |
listen(String path,
net.java.html.lib.Function listeningListener) |
Number |
maxConnections() |
Number |
maxHeadersCount() |
Server |
ref() |
void |
setTimeout(double msecs,
net.java.html.lib.Function callback) |
Number |
timeout() |
Server |
unref() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOfpublic net.java.html.lib.Objs.Property<Number> maxConnections
public net.java.html.lib.Objs.Property<Number> connections
public net.java.html.lib.Objs.Property<Number> maxHeadersCount
public net.java.html.lib.Objs.Property<Number> timeout
protected Server(net.java.html.lib.Objs.Constructor<?> c,
Object js)
public Number maxConnections()
public Number connections()
public Number maxHeadersCount()
public Number timeout()
public void addContext(String hostName, net.java.html.lib.Objs credentials)
public net.java.html.lib.Objs address()
public Server close()
public Server close(net.java.html.lib.Function callback)
public void getConnections(net.java.html.lib.Function.A2<? super net.java.html.lib.Error,? super Number,? extends Void> cb)
public Server listen(ListenOptions options, net.java.html.lib.Function listeningListener)
public Server listen(ListenOptions options)
public Server listen(double port, double backlog, net.java.html.lib.Function listeningListener)
public Server listen(double port)
public Server listen(double port, double backlog)
public Server listen(double port, String hostname, double backlog, net.java.html.lib.Function listeningListener)
public Server listen(double port, String hostname, net.java.html.lib.Function listeningListener)
public Server listen(double port, net.java.html.lib.Function listeningListener)
public Server listen(Object handle, double backlog, net.java.html.lib.Function listeningListener)
public Server listen(String path, double backlog, net.java.html.lib.Function listeningListener)
public Server ref()
public void setTimeout(double msecs,
net.java.html.lib.Function callback)
public Server unref()
Copyright © 2016. All rights reserved.