Page Contents
Home > @loopback/rest > RegExpRouter
RegExpRouter class
Router implementation based on regexp matching
Signature:
export declare class RegExpRouter extends BaseRouter
Extends: BaseRouter
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(options)](/doc/en/lb4/apidocs.rest.regexprouter._constructor_.html) | Constructs a new instance of the `RegExpRouter` class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| [addRouteWithPathVars(route)](/doc/en/lb4/apidocs.rest.regexprouter.addroutewithpathvars.html) | `protected` | |
| [findRouteWithPathVars(verb, path)](/doc/en/lb4/apidocs.rest.regexprouter.findroutewithpathvars.html) | `protected` | |
| [listRoutesWithPathVars()](/doc/en/lb4/apidocs.rest.regexprouter.listrouteswithpathvars.html) | `protected` |