@Override public SerializationStreamWriter createStreamWriter() { ClientSerializationStreamWriter clientSerializationStreamWriter = new ClientSerializationStreamWriter(this.serializer, this.moduleBaseURL, CommandSerializationStreamFactory.SERIALIZATION_POLICY); clientSerializationStreamWriter.prepareToWrite(); return clientSerializationStreamWriter; }
@Override public SerializationStreamWriter createStreamWriter() { ClientSerializationStreamWriter toReturn = (ClientSerializationStreamWriter) super.createStreamWriter(); if (getRpcToken() != null) { toReturn.addFlags(ClientSerializationStreamWriter.FLAG_RPC_TOKEN_INCLUDED); } return toReturn; }