Add getDefault function for route
Fix NFR #1087
optimization from Vladimir Kolesnikov
Updated Vladimir Kolesnikov
Merge pull request #1088 from dreamsxin/issues_1087

Issues 1087