Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ControllerInstance

Represents an instance of a controller, which can be used to handle requests.

Hierarchy

  • ControllerInstance

Index

Constructors

constructor

Properties

Readonly injector

injector: Injector

Readonly isModule

isModule: boolean

resolvedMiddleware

resolvedMiddleware: express.RequestHandler[]

Readonly routeTable

routeTable: any[]

Readonly server

server: WebServer

Readonly type

type: Function

Accessors

context

controllers

group

  • get group(): string

instance

  • get instance(): any

middleware

  • get middleware(): (Function | RequestHandler<ParamsDictionary, any, any, ParsedQs> | [string, RequestHandler<ParamsDictionary, any, any, ParsedQs>])[]

options

pathPrefix

  • get pathPrefix(): string

routes

Methods

combinePaths

  • combinePaths(...paths: any[]): string

initialize

  • initialize(): void

mount

start

  • start(): void

stop

  • stop(): void

Generated using TypeDoc