Page Contents

Home > @loopback/rest > RoutingTable

RoutingTable class

Routing table

Signature:

export declare class RoutingTable 

Constructors

Constructor Modifiers Description
[(constructor)(\_router, \_externalRoutes)](/doc/en/lb4/apidocs.rest.routingtable._constructor_.html) Constructs a new instance of the `RoutingTable` class

Methods

Method Modifiers Description
[describeApiPaths()](/doc/en/lb4/apidocs.rest.routingtable.describeapipaths.html)
[find(request)](/doc/en/lb4/apidocs.rest.routingtable.find.html) Map a request to a route
[registerController(spec, controllerCtor, controllerFactory)](/doc/en/lb4/apidocs.rest.routingtable.registercontroller.html) Register a controller as the route
[registerRoute(route)](/doc/en/lb4/apidocs.rest.routingtable.registerroute.html) Register a route