Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RouterExplorer

Hierarchy

  • RouterExplorer

Index

Constructors

constructor

Properties

Private Readonly container

container: NestContainer

Private Readonly exceptionFiltersCache

exceptionFiltersCache: WeakMap<object, any> = new WeakMap()

Private Optional Readonly exceptionsFilter

exceptionsFilter: ExceptionsFilter

Private Readonly executionContextCreator

executionContextCreator: RouterExecutionContext

Private Optional Readonly injector

injector: Injector

Private Readonly logger

logger: Logger = new Logger(RouterExplorer.name, true)

Private Readonly metadataScanner

metadataScanner: MetadataScanner

Private Readonly routerMethodFactory

routerMethodFactory: RouterMethodFactory = new RouterMethodFactory()

Private Optional Readonly routerProxy

routerProxy: RouterProxy

Methods

Private applyCallbackToRouter

Private applyHostFilter

applyPathsToRouterProxy

Private createCallbackProxy

createRequestScopedHandler

  • createRequestScopedHandler(instanceWrapper: InstanceWrapper, requestMethod: RequestMethod, moduleRef: Module, moduleKey: string, methodName: string): (Anonymous function)

explore

  • explore<T>(instanceWrapper: InstanceWrapper, module: string, applicationRef: T, basePath: string, host: string): void

exploreMethodMetadata

extractRouterPath

  • extractRouterPath(metatype: Type<Controller>, prefix?: string): string

Private getContextId

scanForPaths

stripEndSlash

  • stripEndSlash(str: string): string

validateRoutePath

  • validateRoutePath(path: string): string

Generated using TypeDoc