resolveAll method

Iterable<RoutingResult<T>> resolveAll (String absolute, String relative, { String method: 'GET', bool strip: true })

Finds every possible Route that matches the given path, with the given method.

Implementation

Iterable<RoutingResult<T>> resolveAll(String absolute, String relative,
    {String method = 'GET', bool strip = true}) {
  if (_useCache == true) {
    return _cache.putIfAbsent('$method$absolute',
        () => _resolveAll(absolute, relative, method: method, strip: strip));
  }

  return _resolveAll(absolute, relative, method: method, strip: strip);
}