ServerSocketChannel serverChannel = (ServerSocketChannel)key.channel();
SocketChannel client = serverChannel.accept();
if ( client != null )
{
client.configureBlocking(false);
SelectionKeyHandler handler = new HttpConnection();
SelectorManager.getSelectorManager().register(client, handler, SelectionKey.OP_READ);
}
}
catch(IOException e)
{