Lines Matching full:route
191 FindRoute route; member
197 FindRoute route; in findRouteByPerMethod() local
204 // Found a 404 route, switch that in in findRouteByPerMethod()
207 route.rule = perMethod.rules[found.ruleIndex]; in findRouteByPerMethod()
208 route.params = std::move(found.params); in findRouteByPerMethod()
210 return route; in findRouteByPerMethod()
224 FindRoute route = findRouteByPerMethod(req.url().encoded_path(), in findRoute() local
226 if (route.rule == nullptr) in findRoute()
249 FindRoute route = findRouteByPerMethod(req.url().encoded_path(), in findRoute() local
251 if (route.rule != nullptr) in findRoute()
253 findRoute.route = route; in findRoute()
303 if (foundRoute.route.rule == nullptr) in handle()
305 // Couldn't find a normal route with any verb, try looking for a 404 in handle()
306 // route in handle()
309 foundRoute.route = findRouteByPerMethod( in handle()
315 foundRoute.route = findRouteByPerMethod( in handle()
327 // If we couldn't find a real route or a 404 route, return a generic in handle()
329 if (foundRoute.route.rule == nullptr) in handle()
343 BaseRule& rule = *foundRoute.route.rule; in handle()
344 std::vector<std::string> params = std::move(foundRoute.route.params); in handle()