@Override
    public void serialize() throws SerializationException {
        this.serializeClazz();
        this.serializeHeader(this.invokeContext);
        this.serializeContent(this.invokeContext);
    }
Serialize  the class header and content.

@throws Exception
src/main/java/com/alipay/remoting/rpc/RpcCommand.java