Page Contents
Home > @loopback/rest > RoutingTable
RoutingTable class
Routing table
Signature:
export declare class RoutingTable
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(_router, _externalRoutes) | Constructs a new instance of the RoutingTable class |
Methods
Method | Modifiers | Description |
---|---|---|
describeApiPaths() | ||
find(request) | Map a request to a route | |
registerController(spec, controllerCtor, controllerFactory) | Register a controller as the route | |
registerRoute(route) | Register a route |