Please see:
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/handler/codec/http/QueryStringDecoder.html
I think this line is wrong:
decoder.getParameters().get("recipient").equals("world");
It should be:
decoder.getParameters().get("recipient").get(0).equals("world");
Ngoc