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
joinPath(basePath, path) static  
registerController(spec, controllerCtor, controllerFactory)   Register a controller as the route
registerRoute(route)   Register a route