resolveAll method

Iterable<RoutingResult<RequestHandler>> resolveAll(
  1. String absolute,
  2. String relative, {
  3. String method = 'GET',
  4. bool strip = true,
})
inherited

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 && _cache.maxSize > 0) {
    var key = '$method\u0000$strip\u0000$absolute\u0000$relative';
    return _cache[key] ??= _resolveAll(
      absolute,
      relative,
      method: method,
      strip: strip,
    );
  }

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