ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richie Hindle <ric...@entrian.com>
Subject Using WebServer with 3.0
Date Sat, 15 Apr 2006 15:47:53 GMT
Hi,

I'm using the WebServer class from 2.0 like this:

    WebServer webserver = new WebServer(PORT);
    webserver.setParanoid(true);
    webserver.acceptClient("127.0.0.1");
    webserver.addHandler("$default", new LuceneServer());
    webserver.start();

and it all works like a charm.  But in 3.0, addHandler has been removed.
Please can someone show me the equivalent code for 3.0?

Many thanks,

-- 
Richie Hindle
richie@entrian.com



Mime
View raw message