41 import java.nio.channels.*;
52 B1(
int port,
int backlog,
boolean secure)
throws Exception {
53 super(port, backlog, secure);
56 void runServer()
throws Exception {
59 SocketChannel sc = ssc.accept();
61 ChannelIO cio = (sslContext !=
null ?
62 ChannelIOSecure.getInstance(
63 sc,
true , sslContext) :
64 ChannelIO.getInstance(
67 RequestServicer svc =
new RequestServicer(cio);