s="token-line" style="color:#F8F8F2"><span class="token plain">        routeLocator.getRoutes().subscribe(route -&gt; routes.add(route.getId()));</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">        gatewayProperties.getRoutes().stream().filter(routeDefinition -&gt; routes.contains(routeDefinition.getId())).forEach(route -&gt; {</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">            route.getPredicates().stream()</sp