public HttpServer(int port, boolean asDaemon) throws IOException { this.port = port; listeners = new Vector(); listen_socket = new ServerSocket(port); this.setDaemon(asDaemon); this.start();
public HttpServer(int port) throws IOException { this(port, false);
    public HttpServer(int port, boolean asDaemon) throws IOException {        this.port = port;        listeners = new Vector();        listen_socket = new ServerSocket(port);        this.setDaemon(asDaemon);        this.start();    }