processors method

  1. @override
List<RoutingEntity> processors(
  1. String path,
  2. HttpMethod method
)
override

Implementation

@override
List<RoutingEntity> processors(String path, HttpMethod method) {
  bool mine = PathCheckers(
    askedPath: path,
    askedMethod: method,
    routingEntity: this,
  ).isMyPath();
  if (mine) {
    return [this];
  }
  return [];
}