@Override
                    public void onResponse(Object result) {
                        logger.warn("Result received in callback: " + result);
                        rets.add((String) result);
                        latch.countDown();
                    }
Codec Test

Test three type serializer [HESSIAN, JAVA, JSON]

note: json need the class have a default constructor

@author jiangping
@version $Id: CodecTest.java, v 0.1 2015-9-7 PM5:00:26 tao Exp $
src/test/java/com/alipay/remoting/rpc/serializer/CodecTest.java