QueryStringDecoder example bug

Ngoc Dao ngocdaothanh at gmail.com
Wed Jun 22 10:10:33 EDT 2011


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


More information about the netty-users mailing list