@Override
    public void serializeClazz() throws SerializationException {
        if (this.getResponseClass() != null) {
            try {
                byte[] clz = this.getResponseClass().getBytes(Configs.DEFAULT_CHARSET);
                this.setClazz(clz);
            } catch (UnsupportedEncodingException e) {
                throw new SerializationException("Unsupported charset: " + Configs.DEFAULT_CHARSET,
                    e);
            }
        }
    }
Setter method for property <tt>responseObject</tt>.

@param response value to be assigned to property responseObject
src/main/java/com/alipay/remoting/rpc/protocol/RpcResponseCommand.java