Slightly re-factor the transportFactory
initialization in getDocument
#2403
Loading
transportFactory
initialization in getDocument
#2403