Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Router

Implements

Index

Constructors

constructor

  • new Router(_routes: TRoute[]): Router

Properties

Protected _routes

_routes: TRoute[]

Protected methodParameterCache

methodParameterCache: object

Map that keeps a cache of the names of parameters each controller function requires key is of the form - The value is an ordered array of required parameters for the method

Type declaration

  • [key: string]: string[]

Accessors

routes

routes:

Methods

Protected getMethodParameters

  • getMethodParameters(route: TRoute): string[]

Protected getRequestedRoute

  • getRequestedRoute(request: RequestEvent): [TRoute, ReadonlyMap<string, string>]

getRouteData

Protected getRouteMetaData

Static Private getParameters

  • getParameters(func: Function): string[]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc