107108109110111112113114115116
break eventloop; default: throw new RuntimeException("Unkown method: " + req.method); } req.reply(result); } this.sock.close(); } }