@loopback/docs
Version:
Documentation for LoopBack 4
40 lines (27 loc) • 1.28 kB
Markdown
lang: en
title: 'API docs: rest.routingtable'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.routingtable.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RoutingTable](./rest.routingtable.md)
## RoutingTable class
Routing table
<b>Signature:</b>
```typescript
export declare class RoutingTable
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(\_router, \_externalRoutes)](./rest.routingtable.(constructor).md) | | Constructs a new instance of the <code>RoutingTable</code> class |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [describeApiPaths()](./rest.routingtable.describeapipaths.md) | | |
| [find(request)](./rest.routingtable.find.md) | | Map a request to a route |
| [joinPath(basePath, path)](./rest.routingtable.joinpath.md) | <code>static</code> | |
| [registerController(spec, controllerCtor, controllerFactory)](./rest.routingtable.registercontroller.md) | | Register a controller as the route |
| [registerRoute(route)](./rest.routingtable.registerroute.md) | | Register a route |