Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RouteInstance

Represents a Route instance

Hierarchy

  • RouteInstance

Index

Constructors

constructor

  • new RouteInstance(server: WebServer, controllerInstance: any, injector: Injector, parentMiddleware: any[], parentGroup: string, controllerType: Function, routeTable: any[], definition: RouteDefinition): RouteInstance

Properties

_parameters

_parameters: RouteMethodParameter[] = []

Readonly controllerInstance

controllerInstance: any

Readonly controllerType

controllerType: Function

Readonly definition

definition: RouteDefinition

Readonly injector

injector: Injector

middleware

middleware: any[]

Readonly parentGroup

parentGroup: string

Readonly parentMiddleware

parentMiddleware: any[]

resolvedMiddleware

resolvedMiddleware: any[]

Readonly routeTable

routeTable: any[]

Readonly server

server: WebServer

Accessors

description

group

  • get group(): string

methodMetadata

options

parameters

params

  • get params(): string[]

pathParameterMap

  • get pathParameterMap(): {}

Methods

logAndExecute

  • logAndExecute(instance: any, event: WebEvent): Promise<void>

mount

  • mount(pathPrefix: string): void

Generated using TypeDoc