MyDecoder implements ProtocolDecoder然后处理decode方法Context ctx=getContext(session)ctx.append(in);IoBuffer buf=ctx.getBuf();buf.flip();while(in.hasRemaining()){。。。。}服务端已经给我响应数据了,但是我这边一直收不到数据,debug的时候发现这个in.hasRemaining()一直是false,这个是什么问题呢?怎么解决?
http://blog.csdn.net/kimsoft/article/details/8564655